summaryrefslogtreecommitdiff
path: root/src/mongo/bson/bson_validate.h
diff options
context:
space:
mode:
authorFaustoleyva54 <faustoleyva54@gmail.com>2020-06-23 15:52:39 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-06-26 16:15:47 +0000
commit29e009a731de1fed44b7b38c0d0780c9adc49e88 (patch)
tree57eb7b427cb82b7d5627ded7f50e5699eb6aeb50 /src/mongo/bson/bson_validate.h
parent33a643298e279b266362729e91481f159e0a7a69 (diff)
downloadmongo-29e009a731de1fed44b7b38c0d0780c9adc49e88.tar.gz
SERVER-44968 Remove useless BSONVersion enum class
Diffstat (limited to 'src/mongo/bson/bson_validate.h')
-rw-r--r--src/mongo/bson/bson_validate.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/bson/bson_validate.h b/src/mongo/bson/bson_validate.h
index 13892ff80ab..4644ab361c4 100644
--- a/src/mongo/bson/bson_validate.h
+++ b/src/mongo/bson/bson_validate.h
@@ -42,8 +42,7 @@ 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
- * @param version - newest version to accept
*/
-Status validateBSON(const char* buf, uint64_t maxLength, BSONVersion version);
+Status validateBSON(const char* buf, uint64_t maxLength);
} // namespace mongo