Skip to content

Commit

Permalink
fix: fix Dispatcher
Browse files Browse the repository at this point in the history
  • Loading branch information
OEOTYAN committed Aug 5, 2024
1 parent b77152b commit 96aaaa4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/ll/api/reflection/Dispatcher.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,8 @@ class Dispatcher {
}
}
Dispatcher& operator=(Storage const& other) {
if (&other != this) {
storage = other;
call();
}
storage = other;
call();
return *this;
}
Dispatcher& operator=(Storage&& other) {
Expand Down

0 comments on commit 96aaaa4

Please sign in to comment.