summaryrefslogtreecommitdiff
path: root/bson
diff options
context:
space:
mode:
authorDwight <dwight@10gen.com>2011-01-05 12:32:54 -0500
committerDwight <dwight@10gen.com>2011-01-05 12:32:54 -0500
commit5d1f802ebec042d57a715fd560f6666d3f20c369 (patch)
treed599319ff9d23bba2a957a7132f1a58a6e43f36a /bson
parentf52ce911460f1e33a3dbe10e14ad7a43671fabbc (diff)
downloadmongo-5d1f802ebec042d57a715fd560f6666d3f20c369.tar.gz
constructor should be explicit
Diffstat (limited to 'bson')
-rw-r--r--bson/bsonobj.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bson/bsonobj.h b/bson/bsonobj.h
index c4b7af61cb6..3ca6b8c795e 100644
--- a/bson/bsonobj.h
+++ b/bson/bsonobj.h
@@ -76,7 +76,7 @@ namespace mongo {
init(msgdata, ifree);
}
- BSONObj(const Record *r);
+ explicit BSONObj(const Record *r);
/** Construct an empty BSONObj -- that is, {}. */
BSONObj();