Remove isinf workaround

This commit is contained in:
Victor Zverovich
2019-03-17 14:49:19 -07:00
parent 17c6900f83
commit 294fd7df96
3 changed files with 9 additions and 41 deletions
+4
View File
@@ -16,6 +16,10 @@
FMT_BEGIN_NAMESPACE
namespace internal {
// A helper function to suppress bogus "conditional expression is constant"
// warnings.
template <typename T> inline T const_check(T value) { return value; }
// Checks if a value fits in int - used to avoid warnings about comparing
// signed and unsigned integers.
template <bool IsSigned> struct int_checker {