Ver Fonte

Merge pull request #50 from stgatilov/master

Replaced std::max with __testlib_max (damn Microsoft monkeys).
Mike Mirzayanov há 8 anos atrás
pai
commit
cd281fa833
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      testlib.h

+ 2 - 2
testlib.h

@@ -1880,8 +1880,8 @@ struct ValidatorBoundsHit
     ValidatorBoundsHit merge(const ValidatorBoundsHit& validatorBoundsHit)
     {
         return ValidatorBoundsHit(
-            std::max(minHit, validatorBoundsHit.minHit),
-            std::max(maxHit, validatorBoundsHit.maxHit)
+            __testlib_max(minHit, validatorBoundsHit.minHit),
+            __testlib_max(maxHit, validatorBoundsHit.maxHit)
         );
     }
 };