fix typo in GetBenchmarkVersion() (#1755)

This commit is contained in:
Matthias Liedtke 2024-02-12 17:56:58 +01:00 committed by GitHub
parent b04cec1bf9
commit b7ad5e0497
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -303,7 +303,7 @@ class BenchmarkReporter;
const char kDefaultMinTimeStr[] = "0.5s";
// Returns the version of the library.
BENCHMARK_EXPORT std::string GetBenchmarkVersiom();
BENCHMARK_EXPORT std::string GetBenchmarkVersion();
BENCHMARK_EXPORT void PrintDefaultHelp();

View File

@ -748,7 +748,7 @@ int InitializeStreams() {
} // end namespace internal
std::string GetBenchmarkVersiom() { return {BENCHMARK_VERSION}; }
std::string GetBenchmarkVersion() { return {BENCHMARK_VERSION}; }
void PrintDefaultHelp() {
fprintf(stdout,

View File

@ -167,7 +167,7 @@ bool JSONReporter::ReportContext(const Context& context) {
}
out << "],\n";
out << indent << FormatKV("library_version", GetBenchmarkVersiom());
out << indent << FormatKV("library_version", GetBenchmarkVersion());
out << ",\n";
#if defined(NDEBUG)