[ox/std] Fix StringView(BaseStringView const&) constructor

This commit is contained in:
Gary Talent 2023-11-29 00:35:34 -06:00
parent 85e7375f6f
commit 15bc41dd35

View File

@ -37,7 +37,6 @@ class StringView: public detail::BaseStringView {
constexpr StringView(const std::string_view &sv) noexcept: BaseStringView(sv.data(), sv.size()) {} constexpr StringView(const std::string_view &sv) noexcept: BaseStringView(sv.data(), sv.size()) {}
#endif #endif
template<std::size_t SmallStrSz>
constexpr StringView(BaseStringView const&str) noexcept: BaseStringView(str.data(), str.bytes()) {} constexpr StringView(BaseStringView const&str) noexcept: BaseStringView(str.data(), str.bytes()) {}
template<std::size_t SmallStrSz> template<std::size_t SmallStrSz>