Skip to content

Commit

Permalink
test: try to make all compilers happy again
Browse files Browse the repository at this point in the history
  • Loading branch information
skypjack committed Dec 21, 2023
1 parent 17913a7 commit bd06d38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/entt/core/any.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1298,7 +1298,7 @@ TEST_F(Any, ForwardAsAny) {
int value = 42;
auto ref = entt::forward_as_any(value);
auto cref = entt::forward_as_any(std::as_const(value));
auto any = entt::forward_as_any(int{value});
auto any = entt::forward_as_any(static_cast<int &&>(value));

ASSERT_TRUE(any);
ASSERT_TRUE(ref);
Expand Down
2 changes: 1 addition & 1 deletion test/entt/meta/meta_any.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1357,7 +1357,7 @@ TEST_F(MetaAny, ForwardAsMeta) {
int value = 42;
auto ref = entt::forward_as_meta(value);
auto cref = entt::forward_as_meta(std::as_const(value));
auto any = entt::forward_as_meta(int{value});
auto any = entt::forward_as_meta(static_cast<int &&>(value));

ASSERT_TRUE(any);
ASSERT_TRUE(ref);
Expand Down

0 comments on commit bd06d38

Please sign in to comment.