Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(512)

Unified Diff: runtime/platform/assert.cc

Issue 10828317: Use output-only string streams instead of input-output string streams. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/platform/assert.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « runtime/platform/assert.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698