diff options
author | Nao Pross <naopross@thearcway.org> | 2019-02-03 09:40:55 +0100 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2019-02-03 09:40:55 +0100 |
commit | 73ae891dd8f0466f8866f401dcc1f0186767b2a3 (patch) | |
tree | 944c7957b160948be8ab08fd9829babc63a0fec6 /engine/include/core/signal.hpp | |
parent | Add release build to configure.py, fix bug in debug.hpp (diff) | |
download | flatland-73ae891dd8f0466f8866f401dcc1f0186767b2a3.tar.gz flatland-73ae891dd8f0466f8866f401dcc1f0186767b2a3.zip |
Clean up unused stuff in task, remove dead code in signal
Diffstat (limited to 'engine/include/core/signal.hpp')
-rw-r--r-- | engine/include/core/signal.hpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/engine/include/core/signal.hpp b/engine/include/core/signal.hpp index b52e789..f06a193 100644 --- a/engine/include/core/signal.hpp +++ b/engine/include/core/signal.hpp @@ -6,12 +6,10 @@ #include "labelled.hpp" #include "debug.hpp" -#include <map> #include <tuple> #include <list> #include <functional> #include <memory> -#include <cstddef> namespace flat::core @@ -239,11 +237,11 @@ namespace flat::core void broadcast(); /// connect a closure - template<typename ...Args, typename Closure> - std::shared_ptr<listener<Args...>> connect(Closure f) - { + // template<typename ...Args, typename Closure> + // std::shared_ptr<listener<Args...>> connect(Closure f) + // { // TODO: fix - } + // } /// connect a function template<typename R, typename ...Args> |