Skip to content

Commit

Permalink
observer: oops, fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
skypjack committed Jun 25, 2024
1 parent d361e73 commit c15b1f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/entt/entity/observer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ class basic_observer {
: release{&basic_observer::disconnect<Matcher...>},
parent{&reg},
storage{allocator} {
connect<Matcher...>(reg, std::index_sequence_for<Matcher...>{});
connect<Matcher...>(std::index_sequence_for<Matcher...>{});
}

/*! @brief Default destructor. */
Expand Down Expand Up @@ -322,7 +322,7 @@ class basic_observer {
disconnect();
parent = &reg;
release = &basic_observer::disconnect<Matcher...>;
connect<Matcher...>(reg, std::index_sequence_for<Matcher...>{});
connect<Matcher...>(std::index_sequence_for<Matcher...>{});
storage.clear();
}

Expand Down

0 comments on commit c15b1f7

Please sign in to comment.