diff --git a/include/string_span.h b/include/string_span.h index 133712e..68095fa 100644 --- a/include/string_span.h +++ b/include/string_span.h @@ -154,22 +154,22 @@ std::basic_string::type> to_string(basic_strin #else -std::string to_string(cstring_span<> view) +inline std::string to_string(cstring_span<> view) { return{ view.data(), view.length() }; } -std::string to_string(string_span<> view) +inline std::string to_string(string_span<> view) { return{ view.data(), view.length() }; } -std::wstring to_string(cwstring_span<> view) +inline std::wstring to_string(cwstring_span<> view) { return{ view.data(), view.length() }; } -std::wstring to_string(wstring_span<> view) +inline std::wstring to_string(wstring_span<> view) { return{ view.data(), view.length() }; }