From 3161a33c86b960f1beff2448359a6c483c737935 Mon Sep 17 00:00:00 2001 From: Dmitry-Me Date: Fri, 2 Sep 2016 16:58:06 +0300 Subject: [PATCH] Unify increments and decrements --- tinyxml2.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tinyxml2.h b/tinyxml2.h index 332e124..05e5cda 100755 --- a/tinyxml2.h +++ b/tinyxml2.h @@ -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 {