diff options
author | 2016-11-17 08:08:53 +0100 | |
---|---|---|
committer | 2016-11-17 08:08:53 +0100 | |
commit | 8a22a1f14d804eefa8f2ac1f0410218805162b5e (patch) | |
tree | 1caf257fb5729f1ac1c3f70452164aca4399c151 /src/lib/util/strformat.h | |
parent | 98f22fc6de4aedd20366881822a80bb83a4bfcf6 (diff) |
Reverting this change, it is compiler bug, confirmed by Microsoft VSO#292426 (nw)
Diffstat (limited to 'src/lib/util/strformat.h')
-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) { |