فهرست منبع

sigh: updated noexcept token

Michele Caini 4 سال پیش
والد
کامیت
dc07af6ad1
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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{}} {}
 
 
     /**
     /**