diff --git a/tinyxml2.h b/tinyxml2.h index 3dbaaa4..e43b5be 100644 --- a/tinyxml2.h +++ b/tinyxml2.h @@ -1378,7 +1378,7 @@ public: of the XML file in memory. (Note the size returned includes the terminating null.) */ - const int CStrSize()const{ return buffer.Size(); } + int CStrSize() const { return buffer.Size(); } private: void SealElement();