Skip to content

Commit

Permalink
test: make toolset v141 happy again
Browse files Browse the repository at this point in the history
  • Loading branch information
skypjack committed Oct 13, 2023
1 parent 2d0b451 commit 173c4e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/entt/entity/storage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -790,8 +790,8 @@ TYPED_TEST(Storage, Patch) {

entt::entity entity{42};

auto callback = [](value_type &elem) {
if constexpr(std::is_class_v<value_type>) {
auto callback = [](auto &&elem) {
if constexpr(std::is_class_v<std::remove_reference_t<decltype(elem)>>) {
++elem.value;
} else {
++elem;
Expand Down

0 comments on commit 173c4e1

Please sign in to comment.