Improve error reporting (#357)

This commit is contained in:
Victor Zverovich
2016-08-16 07:08:53 -07:00
parent 2bf59a97c6
commit f19d8f9655
6 changed files with 46 additions and 34 deletions
+2 -2
View File
@@ -64,7 +64,7 @@ namespace {
struct Test {};
template <typename Char>
void format(fmt::BasicFormatter<Char> &f, const Char *, Test) {
void format_arg(fmt::BasicFormatter<Char> &f, const Char *, Test) {
f.writer() << "test";
}
@@ -581,7 +581,7 @@ struct CustomFormatter {
typedef char Char;
};
void format(CustomFormatter &, const char *&s, const Test &) {
void format_arg(CustomFormatter &, const char *&s, const Test &) {
s = "custom_format";
}