1
0
mirror of https://github.com/leethomason/tinyxml2.git synced 2026-07-29 23:22:59 +04:00

Merge pull request #277 from Dmitry-Me/preAssertsToClarifyBufferUsage

Pre-asserts to clarify buffer usage
This commit is contained in:
Lee Thomason
2015-01-13 21:44:54 -08:00
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -276,6 +276,7 @@ public:
}
int Size() const {
TIXMLASSERT( _size >= 0 );
return _size;
}