mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 17:10:48 +01:00
Make bson.h compile cleanly by itself. SERVER-1511
This commit is contained in:
parent
733eaafc61
commit
28fc116721
@ -45,6 +45,7 @@
|
|||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <boost/utility.hpp>
|
#include <boost/utility.hpp>
|
||||||
|
#include "util/builder.h"
|
||||||
|
|
||||||
namespace bson {
|
namespace bson {
|
||||||
|
|
||||||
@ -55,7 +56,7 @@ namespace bson {
|
|||||||
public:
|
public:
|
||||||
assertion( unsigned u , const string& s )
|
assertion( unsigned u , const string& s )
|
||||||
: id( u ) , msg( s ){
|
: id( u ) , msg( s ){
|
||||||
StringBuilder ss;
|
mongo::StringBuilder ss;
|
||||||
ss << "BsonAssertion id: " << u << " " << s;
|
ss << "BsonAssertion id: " << u << " " << s;
|
||||||
full = ss.str();
|
full = ss.str();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user