[ox/std] Fix StringView(BaseStringView const&) constructor
This commit is contained in:
parent
85e7375f6f
commit
15bc41dd35
1
deps/ox/src/ox/std/stringview.hpp
vendored
1
deps/ox/src/ox/std/stringview.hpp
vendored
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user