aboutsummaryrefslogtreecommitdiff
path: root/common/rational.cpp
diff options
context:
space:
mode:
authorChristoph Mallon2011-08-06 09:47:19 +0200
committerChristoph Mallon2011-08-07 15:19:07 +0200
commit84220d2ca05707f22a0242b1745caf0b657237a3 (patch)
tree2982f113aae0d6bd41b394f44c64664270982933 /common/rational.cpp
parentb3997f0562e31f41716ecaff24cc3431925f0029 (diff)
downloadscummvm-rg350-84220d2ca05707f22a0242b1745caf0b657237a3.tar.gz
scummvm-rg350-84220d2ca05707f22a0242b1745caf0b657237a3.tar.bz2
scummvm-rg350-84220d2ca05707f22a0242b1745caf0b657237a3.zip
COMMON: Remove superfluous Common:: qualifiers.
Diffstat (limited to 'common/rational.cpp')
-rw-r--r--common/rational.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/rational.cpp b/common/rational.cpp
index cb287869bb..f5495da3a9 100644
--- a/common/rational.cpp
+++ b/common/rational.cpp
@@ -107,8 +107,8 @@ Rational &Rational::operator-=(const Rational &right) {
Rational &Rational::operator*=(const Rational &right) {
// Cross-cancel to avoid unnecessary overflow;
// the result then is automatically normalized
- const int gcd1 = Common::gcd(_num, right._denom);
- const int gcd2 = Common::gcd(right._num, _denom);
+ const int gcd1 = gcd(_num, right._denom);
+ const int gcd2 = gcd(right._num, _denom);
_num = (_num / gcd1) * (right._num / gcd2);
_denom = (_denom / gcd2) * (right._denom / gcd1);