diff --git a/plugify/string.h b/plugify/string.h index 7342d8f..e2342d9 100644 --- a/plugify/string.h +++ b/plugify/string.h @@ -1778,8 +1778,7 @@ namespace plg { } template> - _PLUGIFY_ALWAYS_INLINE - constexpr inline string to_string(Type value) { + constexpr _PLUGIFY_ALWAYS_INLINE string to_string(Type value) { const auto negative = value < 0; const UType uvalue = negative ? static_cast(~value) + static_cast(1) : static_cast(value); const auto length = to_chars_len(uvalue); @@ -1789,8 +1788,7 @@ namespace plg { } template - _PLUGIFY_ALWAYS_INLINE - constexpr inline string to_string(Type value) { + constexpr _PLUGIFY_ALWAYS_INLINE string to_string(Type value) { string str(to_chars_len(value), '\0'); to_chars(&str[0], str.length(), value); return str;