Explorar el Código

sigh: drop redundant initializer

Michele Caini hace 1 año
padre
commit
f39c68793e
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      src/entt/signal/sigh.hpp

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

@@ -236,8 +236,7 @@ class connection {
 public:
     /*! @brief Default constructor. */
     connection()
-        : disconnect{},
-          signal{} {}
+        : signal{} {}
 
     /**
      * @brief Checks whether a connection is properly initialized.