aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2023-10-18 18:20:51 +0200
committerJohannes Stoelp <johannes.stoelp@gmail.com>2023-10-18 18:20:51 +0200
commitf64ef1a6c476bcdf6212931a086e263d8d60daeb (patch)
tree1c51066ac6a0fcd31fc3ec3c730d7ff881c37998
parent80a474883260aa45dca6c4674ea95c110fac6a9c (diff)
downloadcpp-utils-f64ef1a6c476bcdf6212931a086e263d8d60daeb.tar.gz
cpp-utils-f64ef1a6c476bcdf6212931a086e263d8d60daeb.zip
log: remove accidentally added code
-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};