diff -r 9f7e6e288953 -r 481566b60ecd src/string.h --- a/src/string.h Sat May 25 01:44:11 2013 +0300 +++ b/src/string.h Sat May 25 02:05:35 2013 +0300 @@ -45,14 +45,14 @@ void append (const char data) { m_string.push_back (data); } void append (const String data) { m_string.append (data.chars ()); } it begin () { return m_string.begin (); } + c_it begin () const { return m_string.cbegin (); } const char* c () const { return chars (); } size_t capacity () const { return m_string.capacity (); } const char* chars () const { return m_string.c_str (); } int compare (const char* other) const { return m_string.compare (other); } int compare (String other) const { return m_string.compare (other); } it end () { return m_string.end (); } - c_it cbegin () const { return m_string.cbegin (); } - c_it cend () const { return m_string.end (); } + c_it end () const { return m_string.end (); } void clear () { m_string.clear (); } ushort count (const char needle) const; bool empty () const { return m_string.empty (); }