Fix ostream-test

This commit is contained in:
effzeh 2017-04-06 19:25:38 +02:00
parent b10065e69a
commit 1e0d6f33d5

View File

@ -192,6 +192,7 @@ TEST(OStreamTest, WriteToOStreamMaxSize) {
fmt::internal::write(os, w); fmt::internal::write(os, w);
} }
#if __cplusplus >= 201103L
struct Xs { struct Xs {
const size_t size; const size_t size;
const std::string s; const std::string s;
@ -212,3 +213,4 @@ TEST(OStreamTest, FormatBuf1) {
w << xs; w << xs;
EXPECT_EQ(w.size(), size_t((n + 1) * xs.size)); EXPECT_EQ(w.size(), size_t((n + 1) * xs.size));
} }
#endif