diff options
author | Fedja Beader <fedja@protonmail.ch> | 2025-04-08 01:40:03 +0200 |
---|---|---|
committer | Fedja Beader <fedja@protonmail.ch> | 2025-04-08 01:42:26 +0200 |
commit | a9669ebff8f317a29ad07bcd0701f8cf3e0587f8 (patch) | |
tree | 3f9b26b701d2240b7b6bc5c6ffc310b611ff2e67 /src/logger.h | |
parent | ae6a5dd611506122ccb2058235873391ca3d9978 (diff) | |
download | manaplus-logger.h_attribute_format.tar.gz manaplus-logger.h_attribute_format.tar.bz2 manaplus-logger.h_attribute_format.tar.xz manaplus-logger.h_attribute_format.zip |
So it seems that CILK PLUS either ignores the this argument of memberlogger.h_attribute_format
functions or already considers it on its own.
Besides.. is CILK PLUS even relevant today? Whatever..
Plus, deduplicate some more functions
..should this attribute be moved to its own file?
Diffstat (limited to 'src/logger.h')
-rw-r--r-- | src/logger.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/logger.h b/src/logger.h index 89f4c5286..da165189d 100644 --- a/src/logger.h +++ b/src/logger.h @@ -93,21 +93,21 @@ class Logger final */ void log(const char *const log_text, ...) A_NONNULL(2) - A_FORMAT_PRINTF(2, 3); + A_FORMAT_PRINTF(true, 1, 2); /** * Enters a message in the log. The message will be timestamped. */ void assertLog(const char *const log_text, ...) A_NONNULL(2) - A_FORMAT_PRINTF(2, 3); + A_FORMAT_PRINTF(true, 1, 2); /** * Enters a message in the log (thread safe). */ void log_r(const char *const log_text, ...) A_NONNULL(2) - A_FORMAT_PRINTF(2, 3); + A_FORMAT_PRINTF(true, 1, 2); /** * Enters a message in the log. The message will be timestamped. |