test: const correctness

This commit is contained in:
Michele Caini
2024-10-07 10:44:23 +02:00
parent 8ca5a6c305
commit c40c2d41de

View File

@@ -116,7 +116,7 @@ TEST(SingleStorageView, Handle) {
entt::basic_view view{storage};
const entt::entity entity{0};
auto *handle = view.handle();
const auto *handle = view.handle();
ASSERT_NE(handle, nullptr);
@@ -726,7 +726,7 @@ TEST(MultiStorageView, Handle) {
std::tuple<entt::storage<int>, entt::storage<char>> storage{};
entt::basic_view view{std::get<0>(storage), std::get<1>(storage)};
auto *handle = view.handle();
const auto *handle = view.handle();
const entt::entity entity{0};
ASSERT_NE(handle, nullptr);