Refactor parse context and fix warnings

This commit is contained in:
Victor Zverovich
2017-11-19 08:49:58 -08:00
parent e7e270f511
commit 44e186512b
4 changed files with 87 additions and 86 deletions

View File

@@ -448,9 +448,7 @@ struct CustomContext {
bool called;
fmt::internal::parse_context<char> get_parse_context() {
return fmt::internal::parse_context<char>("");
}
fmt::parse_context parse_context() { return fmt::parse_context(""); }
};
TEST(UtilTest, MakeValueWithCustomFormatter) {