aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2009-10-01 05:34:37 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2009-10-01 05:34:37 (GMT)
commit6c0739e8895c9b909e4d925f57c130b4db3e842e (patch)
tree6662632afe285a7bcc048353e001735dc4f714ff /src
parent38ef6e515589af7841c577188eb23c5dbe5d11f3 (diff)
downloadfluxbox_pavel-6c0739e8895c9b909e4d925f57c130b4db3e842e.zip
fluxbox_pavel-6c0739e8895c9b909e4d925f57c130b4db3e842e.tar.bz2
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
Diffstat (limited to 'src')
-rw-r--r--src/FbTk/BoolMenuItem.hh2
-rw-r--r--src/FbTk/IntMenuItem.hh2
-rw-r--r--src/FbTk/Menu.hh4
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 @@
26 26
27namespace FbTk { 27namespace FbTk {
28 28
29class Accessor<class T>; 29template <typename> class Accessor;
30 30
31/// a bool menu item 31/// a bool menu item
32class BoolMenuItem: public FbTk::MenuItem { 32class 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 @@
26 26
27namespace FbTk { 27namespace FbTk {
28 28
29class Accessor<class T>; 29template <typename T> class Accessor;
30 30
31/// Changes an resource integer value between min and max 31/// Changes an resource integer value between min and max
32class IntMenuItem: public FbTk::MenuItem { 32class 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 @@
38 38
39namespace FbTk { 39namespace FbTk {
40 40
41class Command<class T>; 41template <typename T> class Command;
42class MenuItem; 42class MenuItem;
43class ImageControl; 43class ImageControl;
44class RefCount<class T>; 44template <typename T> class RefCount;
45 45
46/// Base class for menus 46/// Base class for menus
47class Menu: public FbTk::EventHandler, FbTk::FbWindowRenderer, 47class Menu: public FbTk::EventHandler, FbTk::FbWindowRenderer,