From b671a1d1971b4bb44295996af368122df7027abd Mon Sep 17 00:00:00 2001 From: MerlotRain <122578849+MerlotRain@users.noreply.github.com> Date: Thu, 29 Aug 2024 19:27:17 +0800 Subject: [PATCH] delegate complie error --- delegate.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/delegate.h b/delegate.h index 034299e..7b532ed 100644 --- a/delegate.h +++ b/delegate.h @@ -61,7 +61,7 @@ class Delegate auto it = invoke_delegates.begin(); while (it != invoke_delegates.end()) { - if (oneDelegate->compare(it.get())) + if (oneDelegate->compare(it->get())) { invoke_delegates.erase(it); return;