mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-09-16 16:28:09 +08:00
Merge pull request #285 from kraj/kraj/clang20
Remove whitespace in operator""
This commit is contained in:
@@ -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
|
||||||
|
@@ -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)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user