enclosed more min/ max in parentheses to default MFC macros

This commit is contained in:
Phil Nash
2017-10-13 13:46:39 +01:00
parent 276393e4e5
commit 2eb93f47f7
4 changed files with 7 additions and 6 deletions
@@ -25,7 +25,7 @@ namespace Catch {
return std::rand() % n;
}
RandomNumberGenerator::result_type RandomNumberGenerator::operator()() const {
return std::rand() % max();
return std::rand() % (max)();
}
}