small cleanup + comment
This commit is contained in:
+3
-2
@@ -21,7 +21,7 @@ public:
|
|||||||
template<class T>
|
template<class T>
|
||||||
struct ThemeMetricTypeTraits
|
struct ThemeMetricTypeTraits
|
||||||
{
|
{
|
||||||
enum { Callable = 1 };
|
enum { Callable = 1 };
|
||||||
};
|
};
|
||||||
|
|
||||||
/* LuaReference and apActorCommands return the function directly without calling it. */
|
/* LuaReference and apActorCommands return the function directly without calling it. */
|
||||||
@@ -162,7 +162,8 @@ public:
|
|||||||
|
|
||||||
bool IsLoaded() const { return m_Value.IsSet(); }
|
bool IsLoaded() const { return m_Value.IsSet(); }
|
||||||
|
|
||||||
//Hacks for VC6 for all boolean operators.
|
// Hacks for VC6 for all boolean operators.
|
||||||
|
// todo: get rid of these -aj
|
||||||
bool operator ! () const { return !GetValue(); }
|
bool operator ! () const { return !GetValue(); }
|
||||||
bool operator && ( const T& input ) const { return GetValue() && input; }
|
bool operator && ( const T& input ) const { return GetValue() && input; }
|
||||||
bool operator || ( const T& input ) const { return GetValue() || input; }
|
bool operator || ( const T& input ) const { return GetValue() || input; }
|
||||||
|
|||||||
Reference in New Issue
Block a user