diff options
-rw-r--r-- | src/lib/util/strformat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/util/strformat.h b/src/lib/util/strformat.h index 13377b21503..abb34e80d3f 100644 --- a/src/lib/util/strformat.h +++ b/src/lib/util/strformat.h @@ -592,10 +592,10 @@ private: { static constexpr bool value = std::is_integral<U>::value && std::is_signed<U>::value; }; template <typename U> struct unsigned_integer_semantics { static constexpr bool value = std::is_integral<U>::value && !std::is_signed<U>::value; }; -public: template <typename U> struct default_semantics { static constexpr bool value = !signed_integer_semantics<U>::value && !unsigned_integer_semantics<U>::value; }; +public: template <typename U> static void apply(std::enable_if_t<signed_integer_semantics<U>::value, Stream> &str, format_flags const &flags, U const &value) { |