diff --git a/source/ps/CStr.h b/source/ps/CStr.h index 9545d50f8a..cf9897453b 100755 --- a/source/ps/CStr.h +++ b/source/ps/CStr.h @@ -182,7 +182,7 @@ public: TCHAR &operator[](long n); TCHAR &operator[](unsigned long n); - inline const TCHAR *c_str() + inline const TCHAR *c_str() const { return m_String.c_str(); } size_t GetHashCode() const;