From fbc8ea8c3eb78f00c298c8e9b82f650d827b9797 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Wed, 8 Mar 2017 07:17:08 -0800 Subject: [PATCH] False -> FalseType (#483) --- fmt/format.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fmt/format.h b/fmt/format.h index 5c4e4cf0..07d02098 100644 --- a/fmt/format.h +++ b/fmt/format.h @@ -1216,7 +1216,7 @@ template <> struct Not { enum { value = 1 }; }; template -struct False { enum { value = 0 }; }; +struct FalseType { enum { value = 0 }; }; template struct LConvCheck { LConvCheck(int) {} @@ -1256,7 +1256,7 @@ inline fmt::StringRef thousands_sep(...) { return ""; } template void format_arg(Formatter &, const Char *, const T &) { - FMT_STATIC_ASSERT(False::value, + FMT_STATIC_ASSERT(FalseType::value, "Cannot format argument. To enable the use of ostream " "operator<< include fmt/ostream.h. Otherwise provide " "an overload of format_arg.");