From ed1604ca58097f555fe38f27bef54438c758f0be Mon Sep 17 00:00:00 2001 From: ToruNiina Date: Sat, 6 Jul 2024 03:38:25 +0900 Subject: [PATCH] fix: ignore argument for NDEBUG build --- include/toml11/impl/syntax_impl.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/toml11/impl/syntax_impl.hpp b/include/toml11/impl/syntax_impl.hpp index 7e7f359..7dd3b81 100644 --- a/include/toml11/impl/syntax_impl.hpp +++ b/include/toml11/impl/syntax_impl.hpp @@ -552,6 +552,7 @@ TOML11_INLINE either string(const spec& s) TOML11_INLINE non_ascii_key_char::non_ascii_key_char(const spec& s) noexcept { assert(s.v1_1_0_allow_non_english_in_bare_keys); + (void)s; // for NDEBUG } TOML11_INLINE std::uint32_t non_ascii_key_char::read_utf8(location& loc) const