0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

use StringBulder for str::stream

This commit is contained in:
Eliot Horowitz 2010-11-28 03:43:19 -05:00
parent a8115022f0
commit f23797cba7

View File

@ -29,6 +29,7 @@
#include <string>
#include <sstream>
#include "../../bson/util/builder.h"
namespace mongoutils {
@ -46,7 +47,7 @@ namespace mongoutils {
*/
class stream {
public:
std::stringstream ss;
mongo::StringBuilder ss;
template<class T>
stream& operator<<(const T& v) {