From 6397d5c262b54f313c374a0b77cfe4cb34d31362 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Wed, 11 Jan 2023 13:22:43 +0100 Subject: [PATCH] ParseContext.hpp: remove default values for parameters --- opm/input/eclipse/Parser/ParseContext.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opm/input/eclipse/Parser/ParseContext.hpp b/opm/input/eclipse/Parser/ParseContext.hpp index ccbe8eae2..a48c79c9e 100644 --- a/opm/input/eclipse/Parser/ParseContext.hpp +++ b/opm/input/eclipse/Parser/ParseContext.hpp @@ -94,8 +94,8 @@ class KeywordLocation; void handleError( const std::string& errorKey, const std::string& msg, const std::optional& location, ErrorGuard& errors) const; void handleUnknownKeyword(const std::string& keyword, const std::optional& location, ErrorGuard& errors) const; bool hasKey(const std::string& key) const; - ParseContext withKey(const std::string& key, InputErrorAction action = InputErrorAction::WARN) const; - ParseContext& withKey(const std::string& key, InputErrorAction action = InputErrorAction::WARN); + ParseContext withKey(const std::string& key, InputErrorAction action) const; + ParseContext& withKey(const std::string& key, InputErrorAction action); void updateKey(const std::string& key , InputErrorAction action); void update(InputErrorAction action); void update(const std::string& keyString , InputErrorAction action);