Procházet zdrojové kódy

test: avoid short names

Michele Caini před 1 rokem
rodič
revize
30b685411b
1 změnil soubory, kde provedl 4 přidání a 4 odebrání
  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 {
 struct self_ptr {
     using element_type = self_ptr;
     using element_type = self_ptr;
 
 
-    self_ptr(int v)
-        : value{v} {}
+    self_ptr(int val)
+        : value{val} {}
 
 
     const self_ptr &operator*() const {
     const self_ptr &operator*() const {
         return *this;
         return *this;
@@ -38,8 +38,8 @@ struct self_ptr {
 struct proxy_ptr {
 struct proxy_ptr {
     using element_type = proxy_ptr;
     using element_type = proxy_ptr;
 
 
-    proxy_ptr(int &v)
-        : value{&v} {}
+    proxy_ptr(int &val)
+        : value{&val} {}
 
 
     proxy_ptr operator*() const {
     proxy_ptr operator*() const {
         return *this;
         return *this;