summaryrefslogtreecommitdiff
path: root/src/base/cprintftest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/cprintftest.cc')
-rw-r--r--src/base/cprintftest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/cprintftest.cc b/src/base/cprintftest.cc
index 86694ed83..3a1b97e40 100644
--- a/src/base/cprintftest.cc
+++ b/src/base/cprintftest.cc
@@ -166,7 +166,7 @@ TEST(CPrintf, Types)
std::stringstream foo2;
foo2 << "stringstream test";
- ccprintf(ss, "%s\n", foo2);
+ ccprintf(ss, "%s\n", foo2.str());
EXPECT_EQ(ss.str(), "stringstream test\n");
ss.str("");