diff options
author | Andrew Morrow <acm@mongodb.com> | 2015-07-06 21:06:36 -0400 |
---|---|---|
committer | Andrew Morrow <acm@mongodb.com> | 2015-07-09 13:49:39 -0400 |
commit | 932e768dc264865d683c113e35985b78425f78d9 (patch) | |
tree | 3b0d01bb663745e9b366daef53633ca75fbf5e59 /src/mongo/scripting/bson_template_evaluator.cpp | |
parent | 7e6df189868bdb2e2b991f0733dc1486b41c69b1 (diff) | |
download | mongo-932e768dc264865d683c113e35985b78425f78d9.tar.gz |
SERVER-19313 Remove some obsoleted usages of boost
Diffstat (limited to 'src/mongo/scripting/bson_template_evaluator.cpp')
-rw-r--r-- | src/mongo/scripting/bson_template_evaluator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/scripting/bson_template_evaluator.cpp b/src/mongo/scripting/bson_template_evaluator.cpp index 0b0a243bd00..73efc05891c 100644 --- a/src/mongo/scripting/bson_template_evaluator.cpp +++ b/src/mongo/scripting/bson_template_evaluator.cpp @@ -266,7 +266,7 @@ BsonTemplateEvaluator::Status BsonTemplateEvaluator::evalRandString(BsonTemplate "abcdefghijklmnopqrstuvwxyz" "0123456789+/"; static const size_t alphaNumLength = sizeof(alphanum) - 1; - BOOST_STATIC_ASSERT(alphaNumLength == 64); + static_assert(alphaNumLength == 64, "alphaNumLength == 64"); int32_t currentRand = 0; std::string str; for (int i = 0; i < length; ++i, currentRand >>= 6) { |