Skip to content

Commit 8bbd57d

Browse files
authored
Update Google Benchmark used to 1.9.4 from 1.6.0 (#1642)
1 parent 5be1fff commit 8bbd57d

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

benchmark/MemoryComplexity.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ namespace {
1212
cur_num_deallocs = 0;
1313
cur_max_bytes_used = 0;
1414
}
15-
void Stop(Result* result) override {
16-
result->num_allocs = cur_num_allocs;
17-
result->max_bytes_used = cur_max_bytes_used;
15+
void Stop(Result& result) override {
16+
result.num_allocs = cur_num_allocs;
17+
result.max_bytes_used = cur_max_bytes_used;
1818
}
1919
};
2020
static auto mm = std::unique_ptr<MemoryManager>(new MemoryManager());

cmake/modules/GoogleBenchmark.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ ExternalProject_Add(
2020
GIT_REPOSITORY https://github.com/google/benchmark.git
2121
EXCLUDE_FROM_ALL 1
2222
GIT_SHALLOW 1
23-
GIT_TAG v1.6.0
23+
GIT_TAG v1.9.4
2424
UPDATE_COMMAND ""
2525
# TIMEOUT 10
2626
# # Force separate output paths for debug and release builds to allow easy

0 commit comments

Comments
 (0)