Produce a compile error when using wide fill character on a narrow stream.

This commit is contained in:
Victor Zverovich committed 2014-01-08 08:17:38 -08:00
1 parent fa3efb1330
commit a1bd3358bb
3 files changed
+64 -41

No files matched your search

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