diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-09-04 02:24:13 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-09-04 02:24:13 +0200 |
commit | d9df2815e3c3e32a6a36b0569920459cd1e686b4 (patch) | |
tree | 237a865072f5100d372fdc49f50c73b48ce54193 /src/libgamma-method.hh | |
parent | add makefile (diff) | |
download | libgammamm-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.hh | 8 |
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. |