diff options
Diffstat (limited to 'src/mongo/bson/bson_validate.h')
-rw-r--r-- | src/mongo/bson/bson_validate.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mongo/bson/bson_validate.h b/src/mongo/bson/bson_validate.h index f9b6d557da1..1a55a09e6b6 100644 --- a/src/mongo/bson/bson_validate.h +++ b/src/mongo/bson/bson_validate.h @@ -34,14 +34,14 @@ #include "mongo/platform/cstdint.h" namespace mongo { - class BSONObj; - class Status; +class BSONObj; +class Status; - /** - * @param buf - bson data - * @param maxLength - maxLength of buffer - * this is NOT the bson size, but how far we know the buffer is valid - */ - Status validateBSON( const char* buf, uint64_t maxLength ); +/** + * @param buf - bson data + * @param maxLength - maxLength of buffer + * this is NOT the bson size, but how far we know the buffer is valid + */ +Status validateBSON(const char* buf, uint64_t maxLength); } // namespace mongo |