Skip to content

Commit

Permalink
Fixed an unused variable warning treated as an error on MSVC.
Browse files Browse the repository at this point in the history
  • Loading branch information
odygrd committed Sep 22, 2024
1 parent 6b846a9 commit 9c32a33
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
- [v7.2.1](#v721)
- [v7.2.0](#v720)
- [v7.1.0](#v710)
- [v7.0.0](#v700)
Expand Down Expand Up @@ -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:**
Expand Down
2 changes: 1 addition & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module(
name = "quill",
version = "7.2.0",
version = "7.2.1",
compatibility_level = 1,
)

Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion include/quill/Backend.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion include/quill/Logger.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 <bool immediate_flush, bool has_dynamic_log_level, typename... Args>
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
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -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')

Expand Down

0 comments on commit 9c32a33

Please sign in to comment.