From 9ea48539b45bdc18c2fee31037ef7eac49c86cb1 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Sat, 15 Apr 2023 14:53:13 +0800 Subject: [PATCH] Inline variable declared in header --- src/base/logger.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/logger.h b/src/base/logger.h index ec27446e8..429335e36 100644 --- a/src/base/logger.h +++ b/src/base/logger.h @@ -35,7 +35,7 @@ #include #include -const int MAX_LOG_MESSAGES = 20000; +inline const int MAX_LOG_MESSAGES = 20000; namespace Log {