aboutsummaryrefslogtreecommitdiffstats
path: root/src/libgamma-method.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libgamma-method.cc')
-rw-r--r--src/libgamma-method.cc9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/libgamma-method.cc b/src/libgamma-method.cc
index 16d61ff..dae9929 100644
--- a/src/libgamma-method.cc
+++ b/src/libgamma-method.cc
@@ -332,7 +332,10 @@ namespace libgamma
return *this;
}
-
+#ifdef __GCC__
+# pragma GCC diagnostic push
+# pragma GCC diagnostic ignored "-Wshadow"
+#endif
/**
* Constructor.
@@ -540,5 +543,9 @@ namespace libgamma
return r != 0;
}
+#ifdef __GCC__
+# pragma GCC diagnostic pop
+#endif
+
}