Skip to content

Commit 7490039

Browse files
committed
fix typo in GetBenchmarkVersion()
1 parent b04cec1 commit 7490039

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

include/benchmark/benchmark.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ class BenchmarkReporter;
303303
const char kDefaultMinTimeStr[] = "0.5s";
304304

305305
// Returns the version of the library.
306-
BENCHMARK_EXPORT std::string GetBenchmarkVersiom();
306+
BENCHMARK_EXPORT std::string GetBenchmarkVersion();
307307

308308
BENCHMARK_EXPORT void PrintDefaultHelp();
309309

src/benchmark.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,7 @@ int InitializeStreams() {
748748

749749
} // end namespace internal
750750

751-
std::string GetBenchmarkVersiom() { return {BENCHMARK_VERSION}; }
751+
std::string GetBenchmarkVersion() { return {BENCHMARK_VERSION}; }
752752

753753
void PrintDefaultHelp() {
754754
fprintf(stdout,

src/json_reporter.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ bool JSONReporter::ReportContext(const Context& context) {
167167
}
168168
out << "],\n";
169169

170-
out << indent << FormatKV("library_version", GetBenchmarkVersiom());
170+
out << indent << FormatKV("library_version", GetBenchmarkVersion());
171171
out << ",\n";
172172

173173
#if defined(NDEBUG)

0 commit comments

Comments
 (0)