Przeglądaj źródła

sigh: updated noexcept token

Michele Caini 3 lat temu
rodzic
commit
dc07af6ad1
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/entt/signal/sigh.hpp

+ 1 - 1
src/entt/signal/sigh.hpp

@@ -67,7 +67,7 @@ public:
     using sink_type = sink<sigh<Ret(Args...), Allocator>>;
     using sink_type = sink<sigh<Ret(Args...), Allocator>>;
 
 
     /*! @brief Default constructor. */
     /*! @brief Default constructor. */
-    sigh() noexcept(std::is_nothrow_constructible_v<sigh, const allocator_type &>)
+    sigh() noexcept(std::is_nothrow_default_constructible_v<allocator_type> &&std::is_nothrow_constructible_v<container_type, const allocator_type &>)
         : sigh{allocator_type{}} {}
         : sigh{allocator_type{}} {}
 
 
     /**
     /**