mirror of https://github.com/Icinga/icinga2.git
ApplyRule#GetFVVar(): return by const ref
to avoid malloc().
This commit is contained in:
parent
738662338f
commit
e97a5d59e0
|
@ -37,11 +37,6 @@ String ApplyRule::GetPackage() const
|
|||
return m_Package;
|
||||
}
|
||||
|
||||
String ApplyRule::GetFVVar() const
|
||||
{
|
||||
return m_FVVar;
|
||||
}
|
||||
|
||||
Expression::Ptr ApplyRule::GetFTerm() const
|
||||
{
|
||||
return m_FTerm;
|
||||
|
|
|
@ -61,7 +61,11 @@ public:
|
|||
return m_FKVar;
|
||||
}
|
||||
|
||||
String GetFVVar() const;
|
||||
inline const String& GetFVVar() const noexcept
|
||||
{
|
||||
return m_FVVar;
|
||||
}
|
||||
|
||||
Expression::Ptr GetFTerm() const;
|
||||
bool GetIgnoreOnError() const;
|
||||
DebugInfo GetDebugInfo() const;
|
||||
|
|
Loading…
Reference in New Issue