Skip to content

Commit

Permalink
meta: minor changes for coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
skypjack committed Aug 1, 2024
1 parent 89767dc commit 2c9aa2f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/entt/meta/factory.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,12 @@ class basic_meta_factory {
curr = curr->next.get();
}

if(curr->invoke != node.invoke) {
if(curr->invoke == node.invoke) {
invoke = curr->invoke;
} else {
invoke = node.invoke;
curr->next = std::make_shared<meta_func_node>();
*curr->next = std::move(node);
} else {
invoke = curr->invoke;
}

bucket = id;
Expand Down

0 comments on commit 2c9aa2f

Please sign in to comment.