diff --git a/src/entt/entity/view.hpp b/src/entt/entity/view.hpp index cd2089dd3..9d972b510 100644 --- a/src/entt/entity/view.hpp +++ b/src/entt/entity/view.hpp @@ -488,7 +488,8 @@ public: * @tparam Args Storage types managed by the other view. * @param other A view to convert from. */ - template>>> + template + requires (!std::same_as>) basic_view(const basic_view &other) noexcept : basic_view{} { (storage_if(other.template storage()), ...); @@ -945,7 +946,8 @@ public: * @tparam Args Storage types managed by the other view. * @param other A view to convert from. */ - template>>> + template + requires (!std::same_as>) basic_view(const basic_view &other) noexcept : base_type{} { storage_if(other.template storage());