Explorar el Código

dispatcher: help std::is_copy_constructible to solve its problems with std::vector :)

Michele Caini hace 5 años
padre
commit
c151d55237
Se han modificado 1 ficheros con 9 adiciones y 0 borrados
  1. 9 0
      src/entt/signal/dispatcher.hpp

+ 9 - 0
src/entt/signal/dispatcher.hpp

@@ -101,6 +101,15 @@ class dispatcher {
     }
     }
 
 
 public:
 public:
+    /*! @brief Default constructor. */
+    dispatcher() = default;
+
+    /*! @brief Default move constructor. */
+    dispatcher(dispatcher &&) = default;
+
+    /*! @brief Default move assignment operator. @return This dispatcher. */
+    dispatcher & operator=(dispatcher &&) = default;
+
     /**
     /**
      * @brief Returns a sink object for the given event.
      * @brief Returns a sink object for the given event.
      *
      *