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.");