diff options
author | Martin Bligh <mbligh@mongodb.com> | 2016-04-07 13:55:42 -0400 |
---|---|---|
committer | Martin Bligh <mbligh@mongodb.com> | 2016-04-07 13:56:00 -0400 |
commit | 082dc0a601d11f9ff6e1c32bd1a4b762801f8787 (patch) | |
tree | 4b5270f23f925fc16e52727bb67d2f229534ce49 /src/mongo/bson | |
parent | 659c0604cdf2107c941e0384b146e7586281c0e3 (diff) | |
download | mongo-082dc0a601d11f9ff6e1c32bd1a4b762801f8787.tar.gz |
Make comment on BSONObj getOwned less misleading
Diffstat (limited to 'src/mongo/bson')
-rw-r--r-- | src/mongo/bson/bsonobj.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/bson/bsonobj.h b/src/mongo/bson/bsonobj.h index 83f0dceee04..fa39b2d9220 100644 --- a/src/mongo/bson/bsonobj.h +++ b/src/mongo/bson/bsonobj.h @@ -178,8 +178,8 @@ public: return _ownedBuffer.get() != 0; } - /** assure the data buffer is under the control of this BSONObj and not a remote buffer - @see isOwned() + /** If the data buffer is under the control of this BSONObj, return it. + Else return an owned copy. */ BSONObj getOwned() const; |