summaryrefslogtreecommitdiff
path: root/src/ints/cmp.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ints/cmp.hpp')
-rw-r--r--src/ints/cmp.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ints/cmp.hpp b/src/ints/cmp.hpp
index 16384e6..58a33b4 100644
--- a/src/ints/cmp.hpp
+++ b/src/ints/cmp.hpp
@@ -27,8 +27,8 @@ namespace tmwa
{
namespace ints
{
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wtype-limits"
+ DIAG_PUSH();
+ DIAG_I(type_limits);
template<class T, class U>
T saturate(const U& v)
{
@@ -62,7 +62,7 @@ namespace ints
return v;
}
}
-#pragma GCC diagnostic pop
+ DIAG_POP();
} // namespace ints
using ints::saturate;