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:
parent
a8115022f0
commit
f23797cba7
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user