Skip to content
Snippets Groups Projects
Commit 75a6f3fa authored by Tobias Leibner's avatar Tobias Leibner
Browse files

[common.debug] remove deprecated __CLASS__

parent 64e131b0
No related branches found
No related tags found
No related merge requests found
...@@ -39,12 +39,6 @@ inline char* charcopy(const char* s) ...@@ -39,12 +39,6 @@ inline char* charcopy(const char* s)
} // ... charcopy(...) } // ... 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 //! try to ensure var is not optimized out
#define DXTC_DEBUG_AUTO(name) volatile auto DXTC_UNUSED(name) #define DXTC_DEBUG_AUTO(name) volatile auto DXTC_UNUSED(name)
......
...@@ -15,14 +15,6 @@ ...@@ -15,14 +15,6 @@
using namespace Dune::XT::Common; using namespace Dune::XT::Common;
struct Dummy
{
static std::string name()
{
return std::string(__CLASS__);
}
};
GTEST_TEST(debug, main) GTEST_TEST(debug, main)
{ {
#ifndef NDEBUG #ifndef NDEBUG
...@@ -30,7 +22,4 @@ GTEST_TEST(debug, main) ...@@ -30,7 +22,4 @@ GTEST_TEST(debug, main)
#else #else
EXPECT_NO_THROW(DXT_ASSERT(false)); EXPECT_NO_THROW(DXT_ASSERT(false));
#endif #endif
EXPECT_THROW(Dummy::name(), Dune::NotImplemented);
EXPECT_THROW(__CLASS__, Dune::NotImplemented);
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment