From 0e35b2c022599bca2df61488945f07e4d6b4eb35 Mon Sep 17 00:00:00 2001 From: 杨宇千 Date: Sun, 11 Aug 2019 01:09:49 +0800 Subject: ... --- include/cru/common/event.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/cru/common') diff --git a/include/cru/common/event.hpp b/include/cru/common/event.hpp index 50918dd0..12c0d0cd 100644 --- a/include/cru/common/event.hpp +++ b/include/cru/common/event.hpp @@ -148,7 +148,7 @@ class Event : public details::EventBase, public IEvent { // Thanks to this behavior, all handlers will be taken a snapshot when Raise // is called, so even if you delete a handler during this period, all handlers // in the snapshot will be executed. - void Raise(EventArgs args) { + void Raise(typename IEvent::EventArgs args) { std::forward_list handlers; auto iter = handlers.cbefore_begin(); for (const auto& data : this->handler_data_list_) { -- cgit v1.2.3