aboutsummaryrefslogtreecommitdiffstats
path: root/src/libgamma-method.hh
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-09-04 02:24:13 +0200
committerMattias Andrée <maandree@operamail.com>2014-09-04 02:24:13 +0200
commitd9df2815e3c3e32a6a36b0569920459cd1e686b4 (patch)
tree237a865072f5100d372fdc49f50c73b48ce54193 /src/libgamma-method.hh
parentadd makefile (diff)
downloadlibgammamm-d9df2815e3c3e32a6a36b0569920459cd1e686b4.tar.gz
libgammamm-d9df2815e3c3e32a6a36b0569920459cd1e686b4.tar.bz2
libgammamm-d9df2815e3c3e32a6a36b0569920459cd1e686b4.tar.xz
fix warnings
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/libgamma-method.hh8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/libgamma-method.hh b/src/libgamma-method.hh
index aedf6f6..d4bfed3 100644
--- a/src/libgamma-method.hh
+++ b/src/libgamma-method.hh
@@ -26,6 +26,12 @@
#include "libgamma-error.hh"
+#ifndef __GCC__
+# define __attribute__(X) /* emtpy */
+#endif
+
+
+
namespace libgamma
{
/**
@@ -102,7 +108,7 @@ namespace libgamma
/**
* Destructor.
*/
- ~MethodCapabilities();
+ ~MethodCapabilities() __attribute__((const));
/**
* Copy operator.