Explorar o código

test: avoid short names

Michele Caini hai 1 ano
pai
achega
30b685411b
Modificáronse 1 ficheiros con 4 adicións e 4 borrados
  1. 4 4
      test/entt/meta/meta_pointer.cpp

+ 4 - 4
test/entt/meta/meta_pointer.cpp

@@ -25,8 +25,8 @@ private:
 struct self_ptr {
     using element_type = self_ptr;
 
-    self_ptr(int v)
-        : value{v} {}
+    self_ptr(int val)
+        : value{val} {}
 
     const self_ptr &operator*() const {
         return *this;
@@ -38,8 +38,8 @@ struct self_ptr {
 struct proxy_ptr {
     using element_type = proxy_ptr;
 
-    proxy_ptr(int &v)
-        : value{&v} {}
+    proxy_ptr(int &val)
+        : value{&val} {}
 
     proxy_ptr operator*() const {
         return *this;