diff options
author | Teddy <[email protected]> | 2013-08-12 21:37:57 +0800 |
---|---|---|
committer | Teddy <[email protected]> | 2013-08-12 21:37:57 +0800 |
commit | ba5fb7e4112bec20244586ac12285cfb25f2423f (patch) | |
tree | 4d9c6edf0a9b5084d0d879c1e52c725344a30d7b | |
parent | 5b8200390713bbffa95e38a5d610fc631a7ebd9c (diff) |
change `std::abs` to `::abs`
-rw-r--r-- | types.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -805,7 +805,7 @@ NumObj *RatNumObj::abs() { #ifndef GMP_SUPPORT return new RatNumObj((a > 0 ? a : -a), b); #else - return new RatNumObj(std::abs(val)); + return new RatNumObj(::abs(val)); #endif } @@ -880,7 +880,7 @@ NumObj *IntNumObj::div(NumObj *_r) { } NumObj *IntNumObj::abs() { - return new IntNumObj(std::abs(val)); + return new IntNumObj(::abs(val)); } NumObj *IntNumObj::rem(NumObj *_r) { |