瀏覽代碼

test: make clang-tidy happy

skypjack 9 月之前
父節點
當前提交
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_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);