mirror of
https://github.com/greg7mdp/parallel-hashmap.git
synced 2026-08-30 00:50:38 +08:00
Cleanup some clang-tidy issues
This commit is contained in:
@@ -55,7 +55,7 @@ public:
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
// --------------------------------------------------------------------------
|
||||
void showtime(const char *name, std::function<void ()> doit)
|
||||
void showtime(const char *name, const std::function<void ()>& doit)
|
||||
{
|
||||
auto t1 = std::chrono::high_resolution_clock::now();
|
||||
doit();
|
||||
|
||||
Reference in New Issue
Block a user