fixed compile errors

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@48 8a3a26a2-13c4-0310-b231-cf6edde360e5
This commit is contained in:
spog
2006-04-10 18:10:29 +00:00
parent 31af7f484e
commit 620247ad5c
2 changed files with 11 additions and 9 deletions

View File

@@ -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() ||