diff options
author | Jack Lloyd <[email protected]> | 2017-03-22 14:03:33 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-03-22 14:03:33 -0400 |
commit | 9474d89970157f7a6c6bdc5044025170a90f27b2 (patch) | |
tree | 4cb26010af18abb7e485f9585c5572281d3c4971 /src/tests/test_utils.cpp | |
parent | cf02ab0b5f60296e44d5e957278b27a7333fae23 (diff) |
Fix some compiler warnings.
Diffstat (limited to 'src/tests/test_utils.cpp')
-rw-r--r-- | src/tests/test_utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/test_utils.cpp b/src/tests/test_utils.cpp index ce301918d..a2601722d 100644 --- a/src/tests/test_utils.cpp +++ b/src/tests/test_utils.cpp @@ -212,7 +212,7 @@ class Date_Format_Tests : public Text_Based_Test result.test_is_eq("minute", c.minutes, d[4]); result.test_is_eq("second", c.seconds, d[5]); - if(type == "valid.not_std" || type == "valid.64_bit_time_t" && c.year > 2037 && sizeof(std::time_t) == 4) + if(type == "valid.not_std" || (type == "valid.64_bit_time_t" && c.year > 2037 && sizeof(std::time_t) == 4)) { result.test_throws("valid but out of std::timepoint range", [c]() { c.to_std_timepoint(); }); } |