Mercurial > hg > aimc
comparison trunk/src/Support/SimpleIni.h @ 613:c14c83f3d5d6
Changes to allow compilation on Ubuntu 12.10.
author | sness@sness.net |
---|---|
date | Fri, 19 Apr 2013 00:26:23 +0000 |
parents | 0a8e7d0c70dc |
children |
comparison
equal
deleted
inserted
replaced
612:b8a27b613867 | 613:c14c83f3d5d6 |
---|---|
416 Converter & operator=(const Converter & rhs) { | 416 Converter & operator=(const Converter & rhs) { |
417 m_scratch = rhs.m_scratch; | 417 m_scratch = rhs.m_scratch; |
418 return *this; | 418 return *this; |
419 } | 419 } |
420 bool ConvertToStore(const SI_CHAR * a_pszString) { | 420 bool ConvertToStore(const SI_CHAR * a_pszString) { |
421 size_t uLen = SizeToStore(a_pszString); | 421 size_t uLen = this->SizeToStore(a_pszString); |
422 if (uLen == (size_t)(-1)) { | 422 if (uLen == (size_t)(-1)) { |
423 return false; | 423 return false; |
424 } | 424 } |
425 while (uLen > m_scratch.size()) { | 425 while (uLen > m_scratch.size()) { |
426 m_scratch.resize(m_scratch.size() * 2); | 426 m_scratch.resize(m_scratch.size() * 2); |