فهرست منبع

test: use shared boxed_int type

Michele Caini 2 سال پیش
والد
کامیت
94472a6782
1فایلهای تغییر یافته به همراه2 افزوده شده و 5 حذف شده
  1. 2 5
      test/entt/core/iterator.cpp

+ 2 - 5
test/entt/core/iterator.cpp

@@ -3,13 +3,10 @@
 #include <vector>
 #include <gtest/gtest.h>
 #include <entt/core/iterator.hpp>
-
-struct clazz {
-    int value{0};
-};
+#include "../common/boxed_int.h"
 
 TEST(InputIteratorPointer, Functionalities) {
-    clazz instance{};
+    test::boxed_int instance{};
     entt::input_iterator_pointer ptr{std::move(instance)};
     ptr->value = 42;