mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-24 22:24:44 +02:00
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;
|
return m_Package;
|
||||||
}
|
}
|
||||||
|
|
||||||
String ApplyRule::GetFVVar() const
|
|
||||||
{
|
|
||||||
return m_FVVar;
|
|
||||||
}
|
|
||||||
|
|
||||||
Expression::Ptr ApplyRule::GetFTerm() const
|
Expression::Ptr ApplyRule::GetFTerm() const
|
||||||
{
|
{
|
||||||
return m_FTerm;
|
return m_FTerm;
|
||||||
|
@ -61,7 +61,11 @@ public:
|
|||||||
return m_FKVar;
|
return m_FKVar;
|
||||||
}
|
}
|
||||||
|
|
||||||
String GetFVVar() const;
|
inline const String& GetFVVar() const noexcept
|
||||||
|
{
|
||||||
|
return m_FVVar;
|
||||||
|
}
|
||||||
|
|
||||||
Expression::Ptr GetFTerm() const;
|
Expression::Ptr GetFTerm() const;
|
||||||
bool GetIgnoreOnError() const;
|
bool GetIgnoreOnError() const;
|
||||||
DebugInfo GetDebugInfo() const;
|
DebugInfo GetDebugInfo() const;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user