Jelajahi Sumber

Merge pull request #1371 from erbridge/fix_shadow_declaration

Fix a shadow declaration
Juan Linietsky 10 tahun lalu
induk
melakukan
d7ea20c166
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      core/list.h

+ 2 - 2
core/list.h

@@ -607,9 +607,9 @@ public:
 	struct AuxiliaryComparator {
 
 		C compare;
-		_FORCE_INLINE_ bool operator()(const Element *A,const Element* B) const {
+		_FORCE_INLINE_ bool operator()(const Element *a,const Element* b) const {
 
-			return compare(A->value,B->value);
+			return compare(a->value,b->value);
 		}
 	};