From 9c32a33e2ddfc0b62225d06b23e3f25d4647ae43 Mon Sep 17 00:00:00 2001 From: Odysseas Georgoudis Date: Sun, 22 Sep 2024 21:25:44 +0100 Subject: [PATCH] Fixed an unused variable warning treated as an error on MSVC. --- CHANGELOG.md | 5 +++++ MODULE.bazel | 2 +- docs/conf.py | 2 +- include/quill/Backend.h | 2 +- include/quill/Logger.h | 2 +- meson.build | 2 +- 6 files changed, 10 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1b736de5..de288242 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,4 @@ +- [v7.2.1](#v721) - [v7.2.0](#v720) - [v7.1.0](#v710) - [v7.0.0](#v700) @@ -75,6 +76,10 @@ - [v1.1.0](#v110) - [v1.0.0](#v100) +## v7.2.1 + +- Fixed an unused variable warning treated as an error on MSVC. + ## v7.2.0 **Bug Fixes:** diff --git a/MODULE.bazel b/MODULE.bazel index a3d1cdc1..2ab1cf05 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -1,6 +1,6 @@ module( name = "quill", - version = "7.2.0", + version = "7.2.1", compatibility_level = 1, ) diff --git a/docs/conf.py b/docs/conf.py index 106099ec..c65c32e8 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -35,7 +35,7 @@ def configureDoxyfile(input_dir, output_dir): project = 'Quill' copyright = '2024, Odysseas Georgoudis' author = 'Odysseas Georgoudis' -release = 'v7.2.0' +release = 'v7.2.1' # -- General configuration --------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration diff --git a/include/quill/Backend.h b/include/quill/Backend.h index b76b7433..be22a1ab 100644 --- a/include/quill/Backend.h +++ b/include/quill/Backend.h @@ -24,7 +24,7 @@ QUILL_BEGIN_NAMESPACE /** Version Info - When updating VersionMajor please also update the namespace in Attributes.h **/ constexpr uint32_t VersionMajor{7}; constexpr uint32_t VersionMinor{2}; -constexpr uint32_t VersionPatch{0}; +constexpr uint32_t VersionPatch{1}; constexpr uint32_t Version{VersionMajor * 10000 + VersionMinor * 100 + VersionPatch}; class Backend diff --git a/include/quill/Logger.h b/include/quill/Logger.h index 835de546..a1198f3f 100644 --- a/include/quill/Logger.h +++ b/include/quill/Logger.h @@ -68,7 +68,7 @@ class LoggerImpl : public detail::LoggerBase * @return true if the message is written to the queue, false if it is dropped (when a dropping queue is used) */ template - QUILL_ATTRIBUTE_HOT bool log_statement(LogLevel dynamic_log_level, + QUILL_ATTRIBUTE_HOT bool log_statement(QUILL_MAYBE_UNUSED LogLevel dynamic_log_level, MacroMetadata const* macro_metadata, Args&&... fmt_args) { #ifndef NDEBUG diff --git a/meson.build b/meson.build index da87e44d..3202d096 100644 --- a/meson.build +++ b/meson.build @@ -1,4 +1,4 @@ -project('quill', 'cpp', version : '7.2.0', default_options : ['warning_level=3', 'cpp_std=c++17']) +project('quill', 'cpp', version : '7.2.1', default_options : ['warning_level=3', 'cpp_std=c++17']) inc_dirs = include_directories('include')