summaryrefslogtreecommitdiff
path: root/src/mongo/bson/util/simple8b.h
diff options
context:
space:
mode:
authorJackson Xie <jackson.xie@mongodb.com>2021-06-21 18:49:57 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-06-22 17:47:24 +0000
commit6d369b6416e0bed07ffe8098b2351e3d6bfaedd9 (patch)
tree7df904644196cb4d254326c4fa8421da25480b3f /src/mongo/bson/util/simple8b.h
parent0f191f938b5ad943212123a147646e957913ca04 (diff)
downloadmongo-6d369b6416e0bed07ffe8098b2351e3d6bfaedd9.tar.gz
SERVER-57643: Simple8b renaming and spec changes
Diffstat (limited to 'src/mongo/bson/util/simple8b.h')
-rw-r--r--src/mongo/bson/util/simple8b.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/bson/util/simple8b.h b/src/mongo/bson/util/simple8b.h
index 19fec8e5937..42f6f89af55 100644
--- a/src/mongo/bson/util/simple8b.h
+++ b/src/mongo/bson/util/simple8b.h
@@ -41,7 +41,8 @@ namespace mongo {
*/
class Simple8b {
public:
- static const uint64_t errCode = 0x0000000000000000; // Temporary error code.
+ // TODO (SERVER-57724): Remove temporary error code.
+ static constexpr uint64_t errCode = 0x0000000000000000;
/**
* encodeSimple8b takes a selector and a vector of integers to be compressed into a 64 bit word.