This is an automated email from the ASF dual-hosted git repository.

swebb2066 pushed a commit to branch support_json_csv_benchmark_output
in repository https://gitbox.apache.org/repos/asf/logging-log4cxx.git

commit 5ba75a824f4dcd006621f0d015685960055a9253
Author: Stephen Webb <[email protected]>
AuthorDate: Sun Feb 11 12:37:41 2024 +1100

    Support --benchmark_format=json/csv for benchmark comparison
---
 src/test/cpp/benchmark/benchmark.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/test/cpp/benchmark/benchmark.cpp 
b/src/test/cpp/benchmark/benchmark.cpp
index 7c4fd400..0160dc91 100644
--- a/src/test/cpp/benchmark/benchmark.cpp
+++ b/src/test/cpp/benchmark/benchmark.cpp
@@ -75,8 +75,8 @@ public:
 
        void SetUp(const ::benchmark::State& state)
        {
-               std::setlocale( LC_ALL, "" ); /* Set locale for C functions */
-               std::locale::global(std::locale("")); /* set locale for C++ 
functions */
+               std::setlocale( LC_ALL, "C" ); /* Set locale for C functions */
+               std::locale::global(std::locale("C")); /* set locale for C++ 
functions */
                SetupLogger();
        }
 

Reply via email to