Simplify format specs.

This commit is contained in:
Victor Zverovich
2014-01-28 12:47:37 -08:00
parent a1bd3358bb
commit ea5dce3957
3 changed files with 68 additions and 65 deletions

View File

@@ -1227,7 +1227,7 @@ TEST(FormatterTest, FormatUsingIOStreams) {
class Answer {};
template <typename Char>
void Format(BasicWriter<Char> &f, const fmt::FormatSpec<Char> &spec, Answer) {
void Format(BasicWriter<Char> &f, const fmt::FormatSpec &spec, Answer) {
f.Write("42", spec);
}