diff --git a/MaterialLib/MPL/Property.cpp b/MaterialLib/MPL/Property.cpp index fa39913285a7cf6e1a17dc52a69d0f45cb81995f..530019125a6526d541fc06da75b8725763ff2e74 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 4bf7f6e11f87d86aef7860ea42ed026caa7b2362..c46f1b38210c5c294c43ad9e773a79f56d84335c 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;