From d4e0e31395a9fc580bcc6e093d1967f7e795c42e Mon Sep 17 00:00:00 2001
From: Dmitri Naumov <dmitri.naumov@ufz.de>
Date: Mon, 9 Sep 2019 18:51:05 +0200
Subject: [PATCH] [MPL] peek property type. Check in create* methods

---
 MaterialLib/MPL/CreateProperty.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/MaterialLib/MPL/CreateProperty.cpp b/MaterialLib/MPL/CreateProperty.cpp
index bafdd151fad..c2856930472 100644
--- a/MaterialLib/MPL/CreateProperty.cpp
+++ b/MaterialLib/MPL/CreateProperty.cpp
@@ -34,7 +34,7 @@ std::unique_ptr<MaterialPropertyLib::Property> createProperty(
     using namespace MaterialPropertyLib;
     // Parsing the property type:
     //! \ogs_file_param{properties__property__type}
-    auto const property_type = config.getConfigParameter<std::string>("type");
+    auto const property_type = config.peekConfigParameter<std::string>("type");
 
     // If (and only if) the given property type is 'constant', a corresponding
     // value is needed.
-- 
GitLab