diff --git a/include/llmr/util/timer.hpp b/include/llmr/util/timer.hpp index e4165044d..95a58e500 100644 --- a/include/llmr/util/timer.hpp +++ b/include/llmr/util/timer.hpp @@ -11,7 +11,7 @@ namespace util { class timer { using hr = std::chrono::high_resolution_clock; public: - timer(const std::string &name) : name(name), start(hr::now()) {} + explicit timer(const std::string &name) : name(name), start(hr::now()) {} ~timer() { using namespace std::chrono; std::cerr << name << ": "