diff options
author | ancarola <raffaele.ancarola@epfl.ch> | 2019-01-23 15:04:11 +0100 |
---|---|---|
committer | ancarola <raffaele.ancarola@epfl.ch> | 2019-01-23 15:04:11 +0100 |
commit | d672a56aa50ab34672bc102ac6b3562945bf863c (patch) | |
tree | f78d2717fa8c63f9fb6c20004b8c725273b7d7d2 /engine/include/core | |
parent | Use custom comparison for core::prioritize (instead of std::less) (diff) | |
download | flatland-d672a56aa50ab34672bc102ac6b3562945bf863c.tar.gz flatland-d672a56aa50ab34672bc102ac6b3562945bf863c.zip |
signal opt
Diffstat (limited to 'engine/include/core')
-rw-r--r-- | engine/include/core/signal.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/include/core/signal.hpp b/engine/include/core/signal.hpp index 755f3ed..2393bc7 100644 --- a/engine/include/core/signal.hpp +++ b/engine/include/core/signal.hpp @@ -38,7 +38,7 @@ namespace flat class channel : virtual public object { /* Post processing signal stacking */ - prior_set<signal> stack; + queue<signal> stack; /* Listeners list */ std::list<listener*> listeners; @@ -51,7 +51,7 @@ namespace flat public: - channel(const std::string& id = "", priority_t priority = priority_t::none); + channel(const std::string& id = "", priority_t task_priority = priority_t::none); ~channel(); void emit(const signal&); |