return ref, to allow returning it from functions that also return ref
This commit is contained in:
@@ -46,7 +46,7 @@ LocalizedString::operator RString() const
|
||||
return GetValue();
|
||||
}
|
||||
|
||||
RString LocalizedString::GetValue() const
|
||||
const RString &LocalizedString::GetValue() const
|
||||
{
|
||||
ASSERT(m_bLoaded);
|
||||
return m_sValue;
|
||||
|
||||
Reference in New Issue
Block a user