summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSpencer T Brody <spencer@mongodb.com>2015-05-15 18:02:54 -0400
committerSpencer T Brody <spencer@mongodb.com>2015-05-15 18:02:54 -0400
commitb284987fee1d1a6f3c276e9f940bf8b45d226fe5 (patch)
tree5a2b4d86cec40c59ddbe7e9d8233fa07eaea91e9
parent4b4298044b6f76b65c5b9828f169d58b10a4438e (diff)
downloadmongo-b284987fee1d1a6f3c276e9f940bf8b45d226fe5.tar.gz
SERVER-18117 Use str::stream instead of std::stringstream
-rw-r--r--src/mongo/db/repl/repl_set_html_summary.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/repl/repl_set_html_summary.cpp b/src/mongo/db/repl/repl_set_html_summary.cpp
index 1e59a37f1b7..ec7d54e9748 100644
--- a/src/mongo/db/repl/repl_set_html_summary.cpp
+++ b/src/mongo/db/repl/repl_set_html_summary.cpp
@@ -48,9 +48,9 @@ namespace {
template<class T>
std::string ToString(const T& t) {
- std::stringstream s;
+ str::stream s;
s << t;
- return s.str();
+ return s;
}
/**