From 92fc1f94138f750968a39419c97a3c7d6f1ae090 Mon Sep 17 00:00:00 2001 From: Gabriel Russell Date: Fri, 14 Feb 2020 12:25:52 -0500 Subject: SERVER-46165 fix building unittests with --opt=off --- src/mongo/unittest/benchmark_main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/mongo/unittest/benchmark_main.cpp') 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(); -- cgit v1.2.1