Merge pull request #285 from kraj/kraj/clang20

Remove whitespace in operator""
This commit is contained in:
Toru Niina
2025-03-29 15:20:25 +09:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ inline namespace literals
inline namespace toml_literals inline namespace toml_literals
{ {
::toml::value operator"" _toml(const char* str, std::size_t len); ::toml::value operator""_toml(const char* str, std::size_t len);
#if defined(TOML11_HAS_CHAR8_T) #if defined(TOML11_HAS_CHAR8_T)
// value of u8"" literal has been changed from char to char8_t and char8_t is // value of u8"" literal has been changed from char to char8_t and char8_t is

View File

@@ -115,7 +115,7 @@ inline namespace toml_literals
{ {
TOML11_INLINE ::toml::value TOML11_INLINE ::toml::value
operator"" _toml(const char* str, std::size_t len) operator""_toml(const char* str, std::size_t len)
{ {
if(len == 0) if(len == 0)
{ {