summaryrefslogtreecommitdiff
path: root/bson
diff options
context:
space:
mode:
authorMathias Stearn <redbeard0531@gmail.com>2010-07-29 11:10:18 -0400
committerMathias Stearn <redbeard0531@gmail.com>2010-07-29 11:11:05 -0400
commit28fc116721a0ddd4c9cf7f612a102d66e843fa6f (patch)
tree80043cbd60a25e406a522aae1d9950dc882a09b3 /bson
parent733eaafc61a0356d9e25a7bc73ae52f132bc1086 (diff)
downloadmongo-28fc116721a0ddd4c9cf7f612a102d66e843fa6f.tar.gz
Make bson.h compile cleanly by itself. SERVER-1511
Diffstat (limited to 'bson')
-rw-r--r--bson/bson.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/bson/bson.h b/bson/bson.h
index 5463175fccf..3d9283160e0 100644
--- a/bson/bson.h
+++ b/bson/bson.h
@@ -45,6 +45,7 @@
#include <iostream>
#include <sstream>
#include <boost/utility.hpp>
+#include "util/builder.h"
namespace bson {
@@ -55,7 +56,7 @@ namespace bson {
public:
assertion( unsigned u , const string& s )
: id( u ) , msg( s ){
- StringBuilder ss;
+ mongo::StringBuilder ss;
ss << "BsonAssertion id: " << u << " " << s;
full = ss.str();
}