fix assertion failures when copying things containing ThemeMetrics

This commit is contained in:
Glenn Maynard
2005-02-02 22:04:58 +00:00
parent 065fd5bb35
commit 39385af480
+8
View File
@@ -33,6 +33,14 @@ public:
ThemeManager::Subscribe( this );
}
ThemeMetric( const ThemeMetric<T> &cpy ):
m_sGroup( cpy.m_sGroup ),
m_sName( cpy.m_sName ),
m_currentValue( cpy.m_currentValue )
{
ThemeManager::Subscribe( this );
}
~ThemeMetric()
{
ThemeManager::Unsubscribe( this );