Pārlūkot izejas kodu

test: make clang-tidy happy

skypjack 7 mēneši atpakaļ
vecāks
revīzija
40fdd26788
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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);