From 75a6f3faf23618d30e905128ed48a49c6455c6dc Mon Sep 17 00:00:00 2001
From: Tobias Leibner <tobias.leibner@googlemail.com>
Date: Mon, 23 Sep 2019 16:46:45 +0200
Subject: [PATCH] [common.debug] remove deprecated __CLASS__

---
 dune/xt/common/debug.hh      |  6 ------
 dune/xt/test/common/debug.cc | 11 -----------
 2 files changed, 17 deletions(-)

diff --git a/dune/xt/common/debug.hh b/dune/xt/common/debug.hh
index 0ed4719f0..cf29ead3f 100644
--- a/dune/xt/common/debug.hh
+++ b/dune/xt/common/debug.hh
@@ -39,12 +39,6 @@ inline char* charcopy(const char* s)
 } // ... charcopy(...)
 
 
-DXT_DEPRECATED_MSG("22.08.18") inline std::string __depr_class()
-{
-  DUNE_THROW(Dune::NotImplemented, "use the DXT::Typename mechanism instead");
-}
-#define __CLASS__ __depr_class()
-
 //! try to ensure var is not optimized out
 #define DXTC_DEBUG_AUTO(name) volatile auto DXTC_UNUSED(name)
 
diff --git a/dune/xt/test/common/debug.cc b/dune/xt/test/common/debug.cc
index 67691cadc..e5cffad2b 100644
--- a/dune/xt/test/common/debug.cc
+++ b/dune/xt/test/common/debug.cc
@@ -15,14 +15,6 @@
 
 using namespace Dune::XT::Common;
 
-struct Dummy
-{
-  static std::string name()
-  {
-    return std::string(__CLASS__);
-  }
-};
-
 GTEST_TEST(debug, main)
 {
 #ifndef NDEBUG
@@ -30,7 +22,4 @@ GTEST_TEST(debug, main)
 #else
   EXPECT_NO_THROW(DXT_ASSERT(false));
 #endif
-
-  EXPECT_THROW(Dummy::name(), Dune::NotImplemented);
-  EXPECT_THROW(__CLASS__, Dune::NotImplemented);
 }
-- 
GitLab