From a1c48893397b4055f2aad1caf46b1d024c3d52ac Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Sun, 19 Feb 2023 23:17:21 +0100 Subject: Remove a few more unused symbols --- src/Logging.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/Logging.cpp') diff --git a/src/Logging.cpp b/src/Logging.cpp index 46df8399..60247c0c 100644 --- a/src/Logging.cpp +++ b/src/Logging.cpp @@ -19,14 +19,14 @@ #include namespace { -std::shared_ptr db_logger = nullptr; -std::shared_ptr net_logger = nullptr; -std::shared_ptr crypto_logger = nullptr; -std::shared_ptr ui_logger = nullptr; -std::shared_ptr qml_logger = nullptr; - -constexpr auto MAX_FILE_SIZE = 1024 * 1024 * 6; -constexpr auto MAX_LOG_FILES = 3; +static std::shared_ptr db_logger = nullptr; +static std::shared_ptr net_logger = nullptr; +static std::shared_ptr crypto_logger = nullptr; +static std::shared_ptr ui_logger = nullptr; +static std::shared_ptr qml_logger = nullptr; + +static constexpr auto MAX_FILE_SIZE = 1024 * 1024 * 6; +static constexpr auto MAX_LOG_FILES = 3; void qmlMessageHandler(QtMsgType type, const QMessageLogContext &context, const QString &msg) -- cgit 1.4.1