Skip to content

Commit

Permalink
meta: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
skypjack committed Oct 4, 2024
1 parent 414365c commit 6db5d78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/entt/meta/container.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,8 @@ struct basic_meta_associative_container_traits {
* @return An iterator that is past the last element of the container.
*/
static iterator end(const meta_ctx &area, void *container, const void *as_const) {
return (container != nullptr)) ? iterator{area, std::bool_constant<key_only>{}, static_cast<Type *>(container)->end()}
: iterator{area, std::bool_constant<key_only>{}, static_cast<const Type *>(as_const)->end()};
return (container != nullptr) ? iterator{area, std::bool_constant<key_only>{}, static_cast<Type *>(container)->end()}
: iterator{area, std::bool_constant<key_only>{}, static_cast<const Type *>(as_const)->end()};
}

/**
Expand Down

0 comments on commit 6db5d78

Please sign in to comment.