mirror of https://github.com/google/benchmark.git
fix typo in GetBenchmarkVersion() (#1755)
This commit is contained in:
parent
b04cec1bf9
commit
b7ad5e0497
|
@ -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();
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue