Skip to content

Commit

Permalink
delegate complie error
Browse files Browse the repository at this point in the history
  • Loading branch information
MerlotRain authored Aug 29, 2024
1 parent 77c6e3e commit b671a1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion delegate.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class Delegate<Return(Args...)>
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;
Expand Down

0 comments on commit b671a1d

Please sign in to comment.