Skip to content

Commit

Permalink
fix typo in GetBenchmarkVersion() (#1755)
Browse files Browse the repository at this point in the history
  • Loading branch information
Liedtke authored Feb 12, 2024
1 parent b04cec1 commit b7ad5e0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/benchmark/benchmark.h
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down
2 changes: 1 addition & 1 deletion src/benchmark.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion src/json_reporter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b7ad5e0

Please sign in to comment.