protect global undefined_ variable MINOR

This commit is contained in:
Aaron
2009-05-28 14:43:32 -04:00
parent a9645eda8a
commit 0c2ab274ee

View File

@@ -34,7 +34,7 @@ namespace mongo {
b.appendUndefined( "" );
return b.obj();
}
BSONObj undefined_ = makeUndefined();
const BSONObj undefined_ = makeUndefined();
BSONObj encapsulate( const BSONObj &obj ) {
return BSON( "" << obj );