initialize m_currentValue, so we get deterministically wrong behavior if

Read() is never called (instead of leaving m_currentValue uninitialized)
This commit is contained in:
Glenn Maynard
2005-01-05 02:40:46 +00:00
parent 628e1e8168
commit 1945f6e9af
+1
View File
@@ -25,6 +25,7 @@ public:
m_sGroup( sGroup ),
m_sName( sName )
{
m_currentValue = T();
ThemeManager::Subscribe( this );
}