Преглед на файлове

test: avoid short names

Michele Caini преди 1 година
родител
ревизия
aec84b6598
променени са 1 файла, в които са добавени 11 реда и са изтрити 11 реда
  1. 11 11
      test/entt/meta/meta_context.cpp

+ 11 - 11
test/entt/meta/meta_context.cpp

@@ -17,8 +17,8 @@
 struct base {
 struct base {
     base() = default;
     base() = default;
 
 
-    base(char v)
-        : value{v} {}
+    base(char cv)
+        : value{cv} {}
 
 
     [[nodiscard]] char get() const {
     [[nodiscard]] char get() const {
         return value;
         return value;
@@ -31,20 +31,20 @@ struct clazz: base {
     clazz()
     clazz()
         : base{} {}
         : base{} {}
 
 
-    clazz(int v)
+    clazz(int iv)
         : base{},
         : base{},
-          value{v} {}
+          value{iv} {}
 
 
-    clazz(char c, int v) // NOLINT
-        : base{c},
-          value{v} {}
+    clazz(char cv, int iv) // NOLINT
+        : base{cv},
+          value{iv} {}
 
 
-    [[nodiscard]] int func(int v) {
-        return (value = v);
+    [[nodiscard]] int func(int iv) {
+        return (value = iv);
     }
     }
 
 
-    [[nodiscard]] int cfunc(int v) const {
-        return v;
+    [[nodiscard]] int cfunc(int iv) const {
+        return iv;
     }
     }
 
 
     static void move_to_bucket(const clazz &instance) {
     static void move_to_bucket(const clazz &instance) {