fix "more than one user-defined conversion has been implicitly applied" in
SDebugOverlay
This commit is contained in:
@@ -1953,12 +1953,12 @@ LocalizedString::~LocalizedString()
|
||||
}
|
||||
|
||||
|
||||
LocalizedString::operator const RString&() const
|
||||
LocalizedString::operator RString() const
|
||||
{
|
||||
return GetValue();
|
||||
}
|
||||
|
||||
const CString &LocalizedString::GetValue() const
|
||||
RString LocalizedString::GetValue() const
|
||||
{
|
||||
ASSERT(!m_sValue.empty()); return m_sValue;
|
||||
}
|
||||
|
||||
@@ -513,8 +513,8 @@ public:
|
||||
LocalizedString( const RString &sSection, const RString &sName );
|
||||
~LocalizedString();
|
||||
void Refresh();
|
||||
operator const RString&() const;
|
||||
const RString &GetValue() const;
|
||||
operator RString() const;
|
||||
RString GetValue() const;
|
||||
private:
|
||||
RString m_sSection;
|
||||
RString m_sName;
|
||||
|
||||
Reference in New Issue
Block a user