Index: src/libchcore/TString.h =================================================================== diff -u -N -re9926b6e83984d0f30bf2008b93874c7c483d95c -r5fd6beaad9f1eccb664b997d151acb59961e4827 --- src/libchcore/TString.h (.../TString.h) (revision e9926b6e83984d0f30bf2008b93874c7c483d95c) +++ src/libchcore/TString.h (.../TString.h) (revision 5fd6beaad9f1eccb664b997d151acb59961e4827) @@ -24,7 +24,7 @@ #define __TSTRING_H__ #include "libchcore.h" -#include +#include BEGIN_CHCORE_NAMESPACE @@ -87,7 +87,7 @@ void SetStringLength(size_t stLength) { BOOST_ASSERT(stLength < m_stBufferSize); - m_stStringLength = min(stLength, m_stBufferSize - 1); + m_stStringLength = std::min(stLength, m_stBufferSize - 1); } private: @@ -214,24 +214,6 @@ bool IsEmpty() const; ///< Returns true if the TString is empty /**@}*/ - // Serialization - template - void load(Archive& ar, unsigned int /*uiVersion*/) - { - std::wstring wstrData; - ar & wstrData; - SetString(wstrData.c_str()); - } - - template - void save(Archive& ar, unsigned int /*uiVersion*/) const - { - std::wstring wstrData = m_pszStringData ? m_pszStringData : _T(""); - ar & wstrData; - } - - BOOST_SERIALIZATION_SPLIT_MEMBER(); - protected: void SetString(const wchar_t* pszStr); ///< Makes a copy of a given unicode TString and store it in internal TString buffer void SetString(const wchar_t* pszStart, size_t stCount);