mirror of
https://github.com/AxioDL/tinyxml2.git
synced 2025-12-20 10:25:24 +00:00
Merge pull request #277 from Dmitry-Me/preAssertsToClarifyBufferUsage
Pre-asserts to clarify buffer usage
This commit is contained in:
@@ -276,6 +276,7 @@ public:
|
||||
}
|
||||
|
||||
int Size() const {
|
||||
TIXMLASSERT( _size >= 0 );
|
||||
return _size;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user