Merge branch 'vfs_normalized_view_string' into 'master'

Do not allow to construct NormalizedView from std::string

See merge request OpenMW/openmw!4263
pull/3236/head
psi29a 5 months ago
commit 2743c4920e

@ -88,6 +88,10 @@ namespace VFS::Path
NormalizedView(const Normalized& value) noexcept;
explicit NormalizedView(const std::string&) = delete;
explicit NormalizedView(std::string&&) = delete;
constexpr std::string_view value() const noexcept { return mValue; }
friend constexpr bool operator==(const NormalizedView& lhs, const NormalizedView& rhs) = default;

Loading…
Cancel
Save