diff options
-rw-r--r-- | project2/common/logger.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/project2/common/logger.h b/project2/common/logger.h index c49d40e..d16aefb 100644 --- a/project2/common/logger.h +++ b/project2/common/logger.h @@ -72,19 +72,19 @@ class LogDriverLoaderImpl : public LogDriverLoader::For<LoggerType, LogDriverLoa level(LoggerType::level) { } - virtual void onConfigLoad() override { + virtual void onConfigLoad() { Logger()->setLoggerAt(this, level); if (level == -1) { instance.reset(); } } - inline LoggerType * create() const override { + inline LoggerType * create() const { if (!instance) { instance = new LoggerType(); } return instance.get(); } - int loggerLevel() const override { + int loggerLevel() const { return level; } const int & level; |