summaryrefslogtreecommitdiffstats
path: root/engine/include/core/signal.hpp
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2019-02-03 09:40:55 +0100
committerNao Pross <naopross@thearcway.org>2019-02-03 09:40:55 +0100
commit73ae891dd8f0466f8866f401dcc1f0186767b2a3 (patch)
tree944c7957b160948be8ab08fd9829babc63a0fec6 /engine/include/core/signal.hpp
parentAdd release build to configure.py, fix bug in debug.hpp (diff)
downloadflatland-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.hpp10
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>