mirror of https://github.com/AxioDL/tinyxml2.git
Merge pull request #474 from Dmitry-Me/unifyIncDecOps
Unify increments and decrements
This commit is contained in:
commit
2e14517c89
|
@ -369,8 +369,8 @@ public:
|
|||
if ( _currentAllocs > _maxAllocs ) {
|
||||
_maxAllocs = _currentAllocs;
|
||||
}
|
||||
_nAllocs++;
|
||||
_nUntracked++;
|
||||
++_nAllocs;
|
||||
++_nUntracked;
|
||||
return result;
|
||||
}
|
||||
|
||||
|
@ -393,7 +393,7 @@ public:
|
|||
}
|
||||
|
||||
void SetTracked() {
|
||||
_nUntracked--;
|
||||
--_nUntracked;
|
||||
}
|
||||
|
||||
int Untracked() const {
|
||||
|
|
Loading…
Reference in New Issue