Pre-asserts to clarify buffer usage

This commit is contained in:
Dmitry-Me
2015-01-14 08:32:23 +03:00
parent 38b49ae042
commit 30bdc9735b
2 changed files with 2 additions and 0 deletions

View File

@@ -276,6 +276,7 @@ public:
}
int Size() const {
TIXMLASSERT( _size >= 0 );
return _size;
}