]> de.git.xonotic.org Git - xonotic/netradiant.git/commitdiff
fixed gcc compile errors
authorspog <spog>
Mon, 10 Apr 2006 18:13:59 +0000 (18:13 +0000)
committerspog <spog>
Mon, 10 Apr 2006 18:13:59 +0000 (18:13 +0000)
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@49 8a3a26a2-13c4-0310-b231-cf6edde360e5

libs/generic/callback.h

index 36653a73d4297b85122525d4c762a217e755bfd1..f5f0e5e5ea181a7739836902d73aef3a5f0f9060 100644 (file)
@@ -274,7 +274,7 @@ public:
   Callback0(const BindFirstOpaque<Caller>& caller) : Base(caller.getEnvironment(), BindFirstOpaque<Caller>::thunk)
   {
   }
-  Callback0(void* environment, Thunk function) : Base(environment, function)
+  Callback0(void* environment, typename Thunk function) : Base(environment, function)
   {
   }
   result_type operator()() const
@@ -320,7 +320,7 @@ public:
   Callback1(const BindFirstOpaque1<Caller>& caller) : Base(caller.getEnvironment(), BindFirstOpaque1<Caller>::thunk)
   {
   }
-  Callback1(void* environment, Thunk function) : Base(environment, function)
+  Callback1(void* environment, typename Thunk function) : Base(environment, function)
   {
   }
   result_type operator()(FirstArgument firstArgument) const
@@ -363,7 +363,7 @@ public:
   Callback2(const BindFirstOpaque2<Caller>& caller) : Base(caller.getEnvironment(), BindFirstOpaque2<Caller>::thunk)
   {
   }
-  Callback2(void* environment, Thunk function) : Base(environment, function)
+  Callback2(void* environment, typename Thunk function) : Base(environment, function)
   {
   }
   result_type operator()(FirstArgument firstArgument, SecondArgument secondArgument) const
@@ -419,7 +419,7 @@ public:
   Callback3(const BindFirstOpaque3<Caller>& caller) : Base(caller.getEnvironment(), BindFirstOpaque3<Caller>::thunk)
   {
   }
-  Callback3(void* environment, Thunk function) : Base(environment, function)
+  Callback3(void* environment, typename Thunk function) : Base(environment, function)
   {
   }
   result_type operator()(FirstArgument firstArgument, SecondArgument secondArgument, ThirdArgument thirdArgument) const