aboutsummaryrefslogtreecommitdiff
path: root/CruUI-Generate/cru_ui.hpp
diff options
context:
space:
mode:
author杨宇千 <crupest@outlook.com>2018-12-05 14:19:20 +0800
committerGitHub <noreply@github.com>2018-12-05 14:19:20 +0800
commit1166da612f01172270114921eb6785998ef88476 (patch)
tree5b101d155f2f4303c947c49d786f0ce4a0fa4b07 /CruUI-Generate/cru_ui.hpp
parentdd75868a05cfc9d71b26f1197022c03ba481fe33 (diff)
parent58fd5162fdb32d4cf70a7fdd6cf6a83ba9e32f6d (diff)
downloadcru-1166da612f01172270114921eb6785998ef88476.tar.gz
cru-1166da612f01172270114921eb6785998ef88476.tar.bz2
cru-1166da612f01172270114921eb6785998ef88476.zip
Merge pull request #33 from crupest/event
Remove IsNoHandler.
Diffstat (limited to 'CruUI-Generate/cru_ui.hpp')
-rw-r--r--CruUI-Generate/cru_ui.hpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/CruUI-Generate/cru_ui.hpp b/CruUI-Generate/cru_ui.hpp
index 1912e243..f662f4bd 100644
--- a/CruUI-Generate/cru_ui.hpp
+++ b/CruUI-Generate/cru_ui.hpp
@@ -1067,13 +1067,6 @@ namespace cru {
(handler.second)(args);
}
-
- //TODO: Remove this!
- bool IsNoHandler() const
- {
- return handlers_.empty();
- }
-
private:
std::map<EventHandlerToken, EventHandler> handlers_;