From 6c0739e8895c9b909e4d925f57c130b4db3e842e Mon Sep 17 00:00:00 2001
From: Mathias Gumz <akira at fluxbox dot org>
Date: Thu, 1 Oct 2009 07:34:37 +0200
Subject: compile fix: using correct forward declaration for template classes

we got this 'Warning (Anachronism): Old syntax for explicit specialization or
 instantiation ignored.' with the solaris compiler
---
 src/FbTk/BoolMenuItem.hh | 2 +-
 src/FbTk/IntMenuItem.hh  | 2 +-
 src/FbTk/Menu.hh         | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/FbTk/BoolMenuItem.hh b/src/FbTk/BoolMenuItem.hh
index 3e68cbd..3ab20ad 100644
--- a/src/FbTk/BoolMenuItem.hh
+++ b/src/FbTk/BoolMenuItem.hh
@@ -26,7 +26,7 @@
 
 namespace FbTk {
 
-class Accessor<class T>;
+template <typename> class Accessor;
 
 /// a bool menu item
 class BoolMenuItem: public FbTk::MenuItem {
diff --git a/src/FbTk/IntMenuItem.hh b/src/FbTk/IntMenuItem.hh
index 4aade43..9d2d2ba 100644
--- a/src/FbTk/IntMenuItem.hh
+++ b/src/FbTk/IntMenuItem.hh
@@ -26,7 +26,7 @@
 
 namespace FbTk {
 
-class Accessor<class T>;
+template <typename T> class Accessor;
 
 /// Changes an resource integer value between min and max
 class IntMenuItem: public FbTk::MenuItem {
diff --git a/src/FbTk/Menu.hh b/src/FbTk/Menu.hh
index 4eb5e27..09bdd8c 100644
--- a/src/FbTk/Menu.hh
+++ b/src/FbTk/Menu.hh
@@ -38,10 +38,10 @@
 
 namespace FbTk {
 
-class Command<class T>;
+template <typename T> class Command;
 class MenuItem;
 class ImageControl;
-class RefCount<class T>;
+template <typename T> class RefCount;
 
 ///   Base class for menus
 class Menu: public FbTk::EventHandler, FbTk::FbWindowRenderer,
-- 
cgit v0.11.2