Index: runtime/platform/assert.cc |
diff --git a/runtime/platform/assert.cc b/runtime/platform/assert.cc |
index 2ea4837e1a55662fe732dbf4b13a6dcc444a6736..2ea934965eb53437d05705ac9f73987982c421b9 100644 |
--- a/runtime/platform/assert.cc |
+++ b/runtime/platform/assert.cc |
@@ -18,7 +18,7 @@ static void failed_exit(void) { |
} |
void DynamicAssertionHelper::Fail(const char* format, ...) { |
- std::stringstream stream; |
+ std::ostringstream stream; |
stream << file_ << ":" << line_ << ": error: "; |
va_list arguments; |