summaryrefslogtreecommitdiff
path: root/src/mongo/bson/bsonmisc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/bson/bsonmisc.h')
-rw-r--r--src/mongo/bson/bsonmisc.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/bson/bsonmisc.h b/src/mongo/bson/bsonmisc.h
index e8e85df7860..cbca88fecb0 100644
--- a/src/mongo/bson/bsonmisc.h
+++ b/src/mongo/bson/bsonmisc.h
@@ -85,7 +85,8 @@ enum FieldCompareResult {
/** Use BSON_ARRAY macro like BSON macro, but without keys
- BSONArray arr = BSON_ARRAY( "hello" << 1 << BSON( "foo" << BSON_ARRAY( "bar" << "baz" << "qux" ) ) );
+ BSONArray arr =
+ BSON_ARRAY( "hello" << 1 << BSON( "foo" << BSON_ARRAY( "bar" << "baz" << "qux" ) ) );
*/
#define BSON_ARRAY(x) ((::mongo::BSONArrayBuilder() << x).arr())
@@ -264,7 +265,8 @@ private:
};
/**
- used in conjuction with BSONObjBuilder, allows for proper buffer size to prevent crazy memory usage
+ used in conjuction with BSONObjBuilder, allows for proper buffer size to prevent crazy memory
+ usage
*/
class BSONSizeTracker {
public: