]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - libs/generic/callback.h
fixed compile errors
[xonotic/netradiant.git] / libs / generic / callback.h
index 68fc0662c6d17c049ba540a3cebc219a7e5b4b04..36653a73d4297b85122525d4c762a217e755bfd1 100644 (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() ||