Simplify static method call.
GitOrigin-RevId: 8b05448f2c5dcfc51d149537bd83c955dbbf5a9d
This commit is contained in:
parent
ef5e709ac8
commit
9293f07464
@ -193,7 +193,7 @@ class HashMapBenchmark : public td::Benchmark {
|
|||||||
explicit HashMapBenchmark(size_t threads_n) : threads_n(threads_n) {
|
explicit HashMapBenchmark(size_t threads_n) : threads_n(threads_n) {
|
||||||
}
|
}
|
||||||
std::string get_description() const override {
|
std::string get_description() const override {
|
||||||
return hash_map->get_name();
|
return HashMap::get_name();
|
||||||
}
|
}
|
||||||
void start_up_n(int n) override {
|
void start_up_n(int n) override {
|
||||||
n *= (int)threads_n;
|
n *= (int)threads_n;
|
||||||
|
Reference in New Issue
Block a user