aboutsummaryrefslogtreecommitdiff
path: root/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'log.h')
-rw-r--r--log.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/log.h b/log.h
index 795bac1..8bb53c6 100644
--- a/log.h
+++ b/log.h
@@ -1,7 +1,6 @@
#ifndef UTILS_LOG_H
#define UTILS_LOG_H
-#include <bits/chrono.h>
#include <cassert>
#include <chrono>
#include <cstdio>
@@ -126,8 +125,7 @@ struct logger {
}
template <log_level L, typename... Args>
- constexpr void log(const char* fmt, Args... args)
- __attribute__((format(printf, 2, 0)));
+ constexpr void log(const char* fmt, Args... args);
private:
log_level m_lvl{kInfo};