Skip to content

Commit 1d0b207

Browse files
committed
Merge pull request #1479 from xzyfer/fix/missing-namespace
Add missing std prefix causing compilation warnings
2 parents 2be979c + 0c35d49 commit 1d0b207

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/eval.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ namespace Sass {
3131
inline double sub(double x, double y) { return x - y; }
3232
inline double mul(double x, double y) { return x * y; }
3333
inline double div(double x, double y) { return x / y; } // x/0 checked by caller
34-
inline double mod(double x, double y) { return abs(fmod(x, y)); } // x/0 checked by caller
34+
inline double mod(double x, double y) { return std::abs(std::fmod(x, y)); } // x/0 checked by caller
3535
typedef double (*bop)(double, double);
3636
bop ops[Sass_OP::NUM_OPS] = {
3737
0, 0, // and, or

0 commit comments

Comments
 (0)