From 4ae9d8d18e1275232dc8cec75222d1f1cc912da7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Christoph=20Gr=C3=BCninger?= <gruenich@dune-project.org>
Date: Fri, 23 Nov 2012 16:19:13 +0000
Subject: [PATCH] [gmpfield.hh] Remove cast operator that caused Clang
 warnings. This fixes FS#1207.

Kudos to Ansgar Burchardt for the patch.

[[Imported from SVN: r7064]]
---
 COPYING                 | 2 +-
 dune/common/gmpfield.hh | 5 -----
 2 files changed, 1 insertion(+), 6 deletions(-)

diff --git a/COPYING b/COPYING
index 07a2ee772..c03caee71 100644
--- a/COPYING
+++ b/COPYING
@@ -2,7 +2,7 @@ Copyright holders:
 
 2003--2010    Peter Bastian
 2004--2012    Markus Blatt
-2011          Ansgar Burchardt
+2011--2012    Ansgar Burchardt
 2004--2005    Adrian Burri
 2006--2012    Andreas Dedner
 2003          Marc Droske
diff --git a/dune/common/gmpfield.hh b/dune/common/gmpfield.hh
index 756930066..42fa5ad61 100644
--- a/dune/common/gmpfield.hh
+++ b/dune/common/gmpfield.hh
@@ -50,11 +50,6 @@ namespace Dune
     {
       return this->get_d();
     }
-
-    operator mpf_class () const
-    {
-      return static_cast<const mpf_class&>(*this);
-    }
   };
 
 
-- 
GitLab