diff options
author | Dwight <dwight@10gen.com> | 2011-01-05 12:32:54 -0500 |
---|---|---|
committer | Dwight <dwight@10gen.com> | 2011-01-05 12:32:54 -0500 |
commit | 5d1f802ebec042d57a715fd560f6666d3f20c369 (patch) | |
tree | d599319ff9d23bba2a957a7132f1a58a6e43f36a /bson | |
parent | f52ce911460f1e33a3dbe10e14ad7a43671fabbc (diff) | |
download | mongo-5d1f802ebec042d57a715fd560f6666d3f20c369.tar.gz |
constructor should be explicit
Diffstat (limited to 'bson')
-rw-r--r-- | bson/bsonobj.h | 2 |
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(); |