diff options
author | Gabriel Russell <gabriel.russell@mongodb.com> | 2020-02-14 12:25:52 -0500 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-02-14 19:05:48 +0000 |
commit | 92fc1f94138f750968a39419c97a3c7d6f1ae090 (patch) | |
tree | 8711a06ae7a5fa951a15db63e163acaed17cade1 | |
parent | 7900aecab9210ef5a0e690239aad569bc6dfac5f (diff) | |
download | mongo-92fc1f94138f750968a39419c97a3c7d6f1ae090.tar.gz |
SERVER-46165 fix building unittests with --opt=off
-rw-r--r-- | src/mongo/unittest/benchmark_main.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/unittest/benchmark_main.cpp b/src/mongo/unittest/benchmark_main.cpp index a27d9db89f4..6256b6d7281 100644 --- a/src/mongo/unittest/benchmark_main.cpp +++ b/src/mongo/unittest/benchmark_main.cpp @@ -54,10 +54,10 @@ int main(int argc, char** argv, char** envp) { return 1; #ifndef MONGO_CONFIG_OPTIMIZED_BUILD - LOGV2(23049, - "***WARNING*** MongoDB was built with --opt=off. Function timings may be " - "affected. Always verify any code change against the production environment " - "(e.g. --opt=on)."); + ::mongo::LOGV2(23049, + "***WARNING*** MongoDB was built with --opt=off. Function timings may be " + "affected. Always verify any code change against the production environment " + "(e.g. --opt=on)."); #endif ::benchmark::RunSpecifiedBenchmarks(); |