mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-24 08:41:16 +00:00
const fix
This commit is contained in:
parent
679f3868a6
commit
fcfa5aa37f
@ -20,8 +20,8 @@ class MxString : public MxCore {
|
||||
|
||||
MxString& operator=(const MxString& p_str);
|
||||
const MxString& operator=(const char* p_str);
|
||||
const MxString operator+(const MxString& p_str);
|
||||
const MxString operator+(const char* p_str);
|
||||
MxString operator+(const MxString& p_str) const;
|
||||
MxString operator+(const char* p_str) const;
|
||||
MxString& operator+=(const char* p_str);
|
||||
|
||||
static void CharSwap(char* p_a, char* p_b);
|
||||
|
||||
@ -128,7 +128,7 @@ const MxString& MxString::operator=(const char* p_str)
|
||||
}
|
||||
|
||||
// FUNCTION: BETA10 0x1012c68a
|
||||
const MxString MxString::operator+(const MxString& p_str)
|
||||
MxString MxString::operator+(const MxString& p_str) const
|
||||
{
|
||||
MxString tmp;
|
||||
delete[] tmp.m_data;
|
||||
@ -146,7 +146,7 @@ const MxString MxString::operator+(const MxString& p_str)
|
||||
// This forces MSVC to add $ReturnUdt$ to the stack for 100% match.
|
||||
// FUNCTION: LEGO1 0x100ae580
|
||||
// FUNCTION: BETA10 0x1012c78d
|
||||
const MxString MxString::operator+(const char* p_str)
|
||||
MxString MxString::operator+(const char* p_str) const
|
||||
{
|
||||
// MxString constructor allocates 1 byte for m_data, so free that first
|
||||
MxString tmp;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user