aboutsummaryrefslogtreecommitdiff
path: root/src/cru_event.hpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2018-12-05 14:08:36 +0800
committercrupest <crupest@outlook.com>2018-12-05 14:08:36 +0800
commit58fd5162fdb32d4cf70a7fdd6cf6a83ba9e32f6d (patch)
tree5b101d155f2f4303c947c49d786f0ce4a0fa4b07 /src/cru_event.hpp
parentdd75868a05cfc9d71b26f1197022c03ba481fe33 (diff)
downloadcru-58fd5162fdb32d4cf70a7fdd6cf6a83ba9e32f6d.tar.gz
cru-58fd5162fdb32d4cf70a7fdd6cf6a83ba9e32f6d.tar.bz2
cru-58fd5162fdb32d4cf70a7fdd6cf6a83ba9e32f6d.zip
Remove IsNoHandler.
Diffstat (limited to 'src/cru_event.hpp')
-rw-r--r--src/cru_event.hpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/cru_event.hpp b/src/cru_event.hpp
index 63de7e76..fa41d646 100644
--- a/src/cru_event.hpp
+++ b/src/cru_event.hpp
@@ -76,13 +76,6 @@ namespace cru {
(handler.second)(args);
}
-
- //TODO: Remove this!
- bool IsNoHandler() const
- {
- return handlers_.empty();
- }
-
private:
std::map<EventHandlerToken, EventHandler> handlers_;