diff options
author | Mathias Gumz <akira at fluxbox dot org> | 2009-10-01 05:34:37 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2009-10-01 05:34:37 (GMT) |
commit | 6c0739e8895c9b909e4d925f57c130b4db3e842e (patch) | |
tree | 6662632afe285a7bcc048353e001735dc4f714ff /src/FbTk/Menu.hh | |
parent | 38ef6e515589af7841c577188eb23c5dbe5d11f3 (diff) | |
download | fluxbox-6c0739e8895c9b909e4d925f57c130b4db3e842e.zip fluxbox-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/FbTk/Menu.hh')
-rw-r--r-- | src/FbTk/Menu.hh | 4 |
1 files changed, 2 insertions, 2 deletions
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 | ||
39 | namespace FbTk { | 39 | namespace FbTk { |
40 | 40 | ||
41 | class Command<class T>; | 41 | template <typename T> class Command; |
42 | class MenuItem; | 42 | class MenuItem; |
43 | class ImageControl; | 43 | class ImageControl; |
44 | class RefCount<class T>; | 44 | template <typename T> class RefCount; |
45 | 45 | ||
46 | /// Base class for menus | 46 | /// Base class for menus |
47 | class Menu: public FbTk::EventHandler, FbTk::FbWindowRenderer, | 47 | class Menu: public FbTk::EventHandler, FbTk::FbWindowRenderer, |