fixed compile errors
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@48 8a3a26a2-13c4-0310-b231-cf6edde360e5
This commit is contained in:
@@ -215,7 +215,7 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
template<typename typename Thunk_>
|
||||
template<typename Thunk_>
|
||||
class CallbackBase
|
||||
{
|
||||
void* m_environment;
|
||||
@@ -235,17 +235,17 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
template<typename typename Thunk>
|
||||
template<typename Thunk>
|
||||
inline bool operator==(const CallbackBase<Thunk>& self, const CallbackBase<Thunk>& other)
|
||||
{
|
||||
return self.getEnvironment() == other.getEnvironment() && self.getThunk() == other.getThunk();
|
||||
}
|
||||
template<typename typename Thunk>
|
||||
template<typename Thunk>
|
||||
inline bool operator!=(const CallbackBase<Thunk>& self, const CallbackBase<Thunk>& other)
|
||||
{
|
||||
return !(self == other);
|
||||
}
|
||||
template<typename typename Thunk>
|
||||
template<typename Thunk>
|
||||
inline bool operator<(const CallbackBase<Thunk>& self, const CallbackBase<Thunk>& other)
|
||||
{
|
||||
return self.getEnvironment() < other.getEnvironment() ||
|
||||
|
||||
Reference in New Issue
Block a user