(svn r13279) -Codechange: simplify condition for terminating loop when reversing list order
This commit is contained in:
@@ -65,7 +65,7 @@ public: // Temporary: public for conversion only
|
||||
|
||||
do {
|
||||
Swap(*a, *b);
|
||||
} while (((a + 1) != b) && (++a != --b));
|
||||
} while (++a < --b);
|
||||
}
|
||||
|
||||
public:
|
||||
|
Reference in New Issue
Block a user