Răsfoiți Sursa

test: make clang-tidy happy

skypjack 11 luni în urmă
părinte
comite
40fdd26788
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      test/entt/process/process.cpp

+ 1 - 1
test/entt/process/process.cpp

@@ -207,7 +207,7 @@ TEST(Process, CustomAllocator) {
     ASSERT_EQ(process.get_allocator(), allocator);
     ASSERT_FALSE(process.get_allocator() != allocator);
 
-    entt::process &other = process.then([](entt::process &, std::uint32_t, void *) {});
+    const entt::process &other = process.then([](entt::process &, std::uint32_t, void *) {});
 
     ASSERT_NE(&process, &other);
     ASSERT_EQ(other.get_allocator(), allocator);