Revert "Update to version 2.6.2."
Have the fix things for some other branches.
This reverts commit c3bbea3c3cfee4908189a57b3fc54f105b78c59b.
Change-Id: I57e6ff5cecb0b0a73673b52d00b2549c3cd3615e
diff --git a/tinystr.cpp b/tinystr.cpp
index 0665768..4125242 100644
--- a/tinystr.cpp
+++ b/tinystr.cpp
@@ -1,5 +1,6 @@
/*
www.sourceforge.net/projects/tinyxml
+Original file by Yves Berquin.
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any
@@ -21,17 +22,20 @@
distribution.
*/
+/*
+ * THIS FILE WAS ALTERED BY Tyge Løvset, 7. April 2005.
+ */
+
#ifndef TIXML_USE_STL
#include "tinystr.h"
// Error value for find primitive
-const TiXmlString::size_type TiXmlString::npos = static_cast< TiXmlString::size_type >(-1);
-
+const TiXmlString::size_type TiXmlString::npos = static_cast< size_type >(-1);
// Null rep.
-TiXmlString::Rep TiXmlString::nullrep_ = { 0, 0, { '\0' } };
+TiXmlString::Rep TiXmlString::nullrep_ = { 0, 0, '\0' };
void TiXmlString::reserve (size_type cap)