const ref.
This commit is contained in:
@@ -230,8 +230,8 @@ public:
|
||||
ThemeMetricEnum( const RString& sGroup, const RString& sName ) :
|
||||
ThemeMetric<RString>( sGroup, sName ) {}
|
||||
void Read() { ThemeMetric<RString>::Read(); StringTo<T>(m_currentValue,m_Value); }
|
||||
T GetValue() const { ASSERT( !m_sName.empty() && m_bIsLoaded ); return m_Value; }
|
||||
operator T () const { return GetValue(); }
|
||||
const T &GetValue() const { ASSERT( !m_sName.empty() && m_bIsLoaded ); return m_Value; }
|
||||
operator const T& () const { return GetValue(); }
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user