aboutsummaryrefslogtreecommitdiffstats
path: root/src/libgamma-method.hh
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-07-21 17:24:10 +0200
committerMattias Andrée <maandree@kth.se>2022-07-21 17:24:10 +0200
commit8602df60ad189c73464bbf6b6918b538da43a22e (patch)
tree10c108bf8ae4df13210d6c7bd3b2f393b6b9f612 /src/libgamma-method.hh
parentupdate dist (diff)
downloadlibgammamm-8602df60ad189c73464bbf6b6918b538da43a22e.tar.gz
libgammamm-8602df60ad189c73464bbf6b6918b538da43a22e.tar.bz2
libgammamm-8602df60ad189c73464bbf6b6918b538da43a22e.tar.xz
Change license, improve makefile, remove dist/
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--libgamma-method.hh (renamed from src/libgamma-method.hh)28
1 files changed, 6 insertions, 22 deletions
diff --git a/src/libgamma-method.hh b/libgamma-method.hh
index 1ad8be5..43b4983 100644
--- a/src/libgamma-method.hh
+++ b/libgamma-method.hh
@@ -1,20 +1,4 @@
-/**
- * libgammamm -- C++ wrapper for libgamma
- * Copyright (C) 2014 Mattias Andrée (maandree@member.fsf.org)
- *
- * This library is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this library. If not, see <http://www.gnu.org/licenses/>.
- */
+/* See LICENSE file for copyright and license details. */
#ifndef LIBGAMMA_METHOD_HH
#define LIBGAMMA_METHOD_HH
@@ -26,7 +10,7 @@
#include "libgamma-error.hh"
-#ifndef __GCC__
+#ifndef __GNUC__
# define __attribute__(X) /* emtpy */
#endif
@@ -108,7 +92,7 @@ namespace libgamma
/**
* Destructor.
*/
- ~MethodCapabilities() __attribute__((const));
+ ~MethodCapabilities();
/**
* Copy operator.
@@ -504,7 +488,7 @@ namespace libgamma
-#ifdef __GCC__
+#ifdef __GNUC__
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Weffc++"
/* Lets ignore that we do not override the copy constructor
@@ -1007,14 +991,14 @@ namespace libgamma
};
-#ifdef __GCC__
+#ifdef __GNUC__
# pragma GCC diagnostic pop
#endif
}
-#ifndef __GCC__
+#ifndef __GNUC__
# undef __attribute__
#endif