Merge pull request #474 from Dmitry-Me/unifyIncDecOps

Unify increments and decrements
This commit is contained in:
Lee Thomason 2016-09-05 13:52:58 -07:00 committed by GitHub
commit 2e14517c89
1 changed files with 3 additions and 3 deletions

View File

@ -369,8 +369,8 @@ public:
if ( _currentAllocs > _maxAllocs ) { if ( _currentAllocs > _maxAllocs ) {
_maxAllocs = _currentAllocs; _maxAllocs = _currentAllocs;
} }
_nAllocs++; ++_nAllocs;
_nUntracked++; ++_nUntracked;
return result; return result;
} }
@ -393,7 +393,7 @@ public:
} }
void SetTracked() { void SetTracked() {
_nUntracked--; --_nUntracked;
} }
int Untracked() const { int Untracked() const {