Explorar el Código

arguments are no longer accepted by the constructor

Michele Caini hace 8 años
padre
commit
8d3f381a5a
Se han modificado 1 ficheros con 2 adiciones y 4 borrados
  1. 2 4
      src/registry.hpp

+ 2 - 4
src/registry.hpp

@@ -219,10 +219,8 @@ private:
     }
     }
 
 
 public:
 public:
-    template<typename... Args>
-    Registry(Args&&... args)
-        : pool{std::forward<Args>(args)...}
-    {}
+    explicit Registry() = default;
+    ~Registry() = default;
 
 
     Registry(const Registry &) = delete;
     Registry(const Registry &) = delete;
     Registry(Registry &&) = delete;
     Registry(Registry &&) = delete;