From 951a8cf9974c6497b0c3928217c0692ad74d9ab9 Mon Sep 17 00:00:00 2001 From: Dmitri Naumov <dmitri.naumov@ufz.de> Date: Wed, 27 Nov 2019 15:20:57 +0100 Subject: [PATCH] [MPL] Remove unused notImplemented(). --- MaterialLib/MPL/Property.cpp | 7 ------- MaterialLib/MPL/Property.h | 5 ----- 2 files changed, 12 deletions(-) diff --git a/MaterialLib/MPL/Property.cpp b/MaterialLib/MPL/Property.cpp index fa39913285a..530019125a6 100644 --- a/MaterialLib/MPL/Property.cpp +++ b/MaterialLib/MPL/Property.cpp @@ -49,11 +49,4 @@ PropertyDataType Property::d2Value(VariableArray const& /*variable_array*/, { return 0.0; } - -void Property::notImplemented(const std::string& property, - const std::string& material) const -{ - OGS_FATAL("The property '%s' is not available on the '%s' scale", - property.c_str(), material.c_str()); -} } // namespace MaterialPropertyLib diff --git a/MaterialLib/MPL/Property.h b/MaterialLib/MPL/Property.h index 4bf7f6e11f8..c46f1b38210 100644 --- a/MaterialLib/MPL/Property.h +++ b/MaterialLib/MPL/Property.h @@ -48,11 +48,6 @@ class Property { public: virtual ~Property() = default; - /// This method is called when a property is used for the wrong kind of - /// material, or if the property is not implemented on this kind of material - /// yet. - void notImplemented(const std::string& property, - const std::string& material) const; /// This virtual method simply returns the private _value attribute without /// changing it. virtual PropertyDataType value() const; -- GitLab