enclosed more min/ max in parentheses to default MFC macros

This commit is contained in:
Phil Nash
2017-10-12 16:00:04 +01:00
parent 276393e4e5
commit 2eb93f47f7
4 changed files with 7 additions and 6 deletions

View File

@@ -22,8 +22,8 @@ namespace Catch {
struct RandomNumberGenerator {
using result_type = std::ptrdiff_t;
static constexpr result_type min() { return 0; }
static constexpr result_type max() { return 1000000; }
static constexpr result_type (min)() { return 0; }
static constexpr result_type (max)() { return 1000000; }
result_type operator()( result_type n ) const;
result_type operator()() const;