From 1e0d6f33d5fbcd9f3bbda25c48e80e09ddea1205 Mon Sep 17 00:00:00 2001 From: effzeh Date: Thu, 6 Apr 2017 19:25:38 +0200 Subject: [PATCH] Fix ostream-test --- test/ostream-test.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/ostream-test.cc b/test/ostream-test.cc index acb1c7fa..0e84f527 100644 --- a/test/ostream-test.cc +++ b/test/ostream-test.cc @@ -192,6 +192,7 @@ TEST(OStreamTest, WriteToOStreamMaxSize) { fmt::internal::write(os, w); } +#if __cplusplus >= 201103L struct Xs { const size_t size; const std::string s; @@ -212,3 +213,4 @@ TEST(OStreamTest, FormatBuf1) { w << xs; EXPECT_EQ(w.size(), size_t((n + 1) * xs.size)); } +#endif