Explorar el Código

test: added missing typename keyword

Michele Caini hace 4 años
padre
commit
99c2299ed4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      test/entt/entity/storage.cpp

+ 1 - 1
test/entt/entity/storage.cpp

@@ -1695,7 +1695,7 @@ TEST(Storage, ThrowingAllocator) {
 
         pool_allocator_type::trigger_on_allocate = true;
 
-        ASSERT_THROW(pool.emplace(entt::entity{0}, 0), pool_allocator_type::exception_type);
+        ASSERT_THROW(pool.emplace(entt::entity{0}, 0), typename pool_allocator_type::exception_type);
         ASSERT_FALSE(pool.contains(entt::entity{0}));
         ASSERT_NO_THROW(pool.compact());
         ASSERT_TRUE(pool.empty());