This is an automated email from the ASF dual-hosted git repository.
swebb2066 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4cxx.git
The following commit(s) were added to refs/heads/master by this push:
new ed367391 Support --benchmark_format=json/csv for benchmark comparison
(#348)
ed367391 is described below
commit ed3673912167291c3ac695d6c4d21d6ee8efcc95
Author: Stephen Webb <[email protected]>
AuthorDate: Sun Feb 11 14:07:47 2024 +1100
Support --benchmark_format=json/csv for benchmark comparison (#348)
---
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();
}