diff --git a/include/beman/any_view/any_view.hpp b/include/beman/any_view/any_view.hpp index bc91b47..bdb6f53 100644 --- a/include/beman/any_view/any_view.hpp +++ b/include/beman/any_view/any_view.hpp @@ -60,7 +60,7 @@ class any_view : public std::ranges::view_interface using adaptor_for = detail::view_adaptor; - static constexpr polymorphic_type make_default() { + static constexpr polymorphic_type make_default() noexcept { return polymorphic_type( std::in_place_type>>); } @@ -154,7 +154,7 @@ class any_view : public std::ranges::view_interface