diff --git a/lib/config/applyrule.cpp b/lib/config/applyrule.cpp index 5cfbf9e35..86aed4a70 100644 --- a/lib/config/applyrule.cpp +++ b/lib/config/applyrule.cpp @@ -37,11 +37,6 @@ String ApplyRule::GetPackage() const return m_Package; } -String ApplyRule::GetFKVar() const -{ - return m_FKVar; -} - String ApplyRule::GetFVVar() const { return m_FVVar; diff --git a/lib/config/applyrule.hpp b/lib/config/applyrule.hpp index 6b6fca8f8..2e3f1d3f8 100644 --- a/lib/config/applyrule.hpp +++ b/lib/config/applyrule.hpp @@ -55,7 +55,12 @@ public: Expression::Ptr GetExpression() const; Expression::Ptr GetFilter() const; String GetPackage() const; - String GetFKVar() const; + + inline const String& GetFKVar() const noexcept + { + return m_FKVar; + } + String GetFVVar() const; Expression::Ptr GetFTerm() const; bool GetIgnoreOnError() const;