mirror of https://github.com/AxioDL/tinyxml2.git
Unify increments and decrements
This commit is contained in:
parent
4fe8c102da
commit
3161a33c86
|
@ -367,8 +367,8 @@ public:
|
|||
if ( _currentAllocs > _maxAllocs ) {
|
||||
_maxAllocs = _currentAllocs;
|
||||
}
|
||||
_nAllocs++;
|
||||
_nUntracked++;
|
||||
++_nAllocs;
|
||||
++_nUntracked;
|
||||
return result;
|
||||
}
|
||||
|
||||
|
@ -391,7 +391,7 @@ public:
|
|||
}
|
||||
|
||||
void SetTracked() {
|
||||
_nUntracked--;
|
||||
--_nUntracked;
|
||||
}
|
||||
|
||||
int Untracked() const {
|
||||
|
|
Loading…
Reference in New Issue