diff --git a/include/string_view.h b/include/string_view.h index e683c7a..164c3ac 100644 --- a/include/string_view.h +++ b/include/string_view.h @@ -137,7 +137,7 @@ basic_string_view::type, dy // to_string() allow (explicit) conversions from string_view to string // template -std::basic_string::type> to_string(const basic_string_view& view) +std::basic_string::type> to_string(basic_string_view view) { return{ view.data(), view.length() }; }