From 31dd90ef31728549fbbb1b6e1f4d53be67175260 Mon Sep 17 00:00:00 2001 From: Rostislav Khlebnikov Date: Thu, 5 Nov 2015 17:56:50 +0000 Subject: [PATCH] added missing inlines --- include/string_span.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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() }; }