mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-09-18 02:08:09 +08:00
fix: ignore argument for NDEBUG build
This commit is contained in:
@@ -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
|
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);
|
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
|
TOML11_INLINE std::uint32_t non_ascii_key_char::read_utf8(location& loc) const
|
||||||
|
Reference in New Issue
Block a user