mirror of https://github.com/Icinga/icinga2.git
parent
38aa231a2d
commit
3e5af43e4d
|
@ -141,12 +141,9 @@ Dictionary::Ptr ConfigItem::GetProperties(void)
|
|||
{
|
||||
ASSERT(OwnsLock());
|
||||
|
||||
if (!m_Properties) {
|
||||
m_Properties = make_shared<Dictionary>();
|
||||
GetLinkedExpressionList()->Execute(m_Properties);
|
||||
}
|
||||
|
||||
return m_Properties;
|
||||
Dictionary::Ptr properties = make_shared<Dictionary>();
|
||||
GetLinkedExpressionList()->Execute(properties);
|
||||
return properties;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -78,7 +78,6 @@ private:
|
|||
DebugInfo m_DebugInfo; /**< Debug information. */
|
||||
|
||||
ExpressionList::Ptr m_LinkedExpressionList;
|
||||
Dictionary::Ptr m_Properties;
|
||||
|
||||
DynamicObject::Ptr m_Object;
|
||||
|
||||
|
|
Loading…
Reference in New Issue