real fix for options

This commit is contained in:
Glenn Maynard
2004-12-07 09:22:38 +00:00
parent f7bb6ef29e
commit dbb52c70d7
2 changed files with 52 additions and 47 deletions
+5
View File
@@ -63,6 +63,11 @@ public:
m_currentValue = m_defaultValue;
}
T &Value()
{
return m_currentValue;
}
operator const T () const
{
return m_currentValue;