Преглед изворни кода

test: make clang-tidy happy

skypjack пре 7 месеци
родитељ
комит
40fdd26788
1 измењених фајлова са 1 додато и 1 уклоњено
  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_EQ(process.get_allocator(), allocator);
     ASSERT_FALSE(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_NE(&process, &other);
     ASSERT_EQ(other.get_allocator(), allocator);
     ASSERT_EQ(other.get_allocator(), allocator);