"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/config/configitembuilder.cpp" between
icinga2-2.11.5.tar.gz and icinga2-2.12.0.tar.gz

About: Icinga 2 is an enterprise grade monitoring system which keeps watch over networks and any conceivable network resource.

configitembuilder.cpp  (icinga2-2.11.5):configitembuilder.cpp  (icinga2-2.12.0)
skipping to change at line 51 skipping to change at line 51
void ConfigItemBuilder::SetPackage(const String& package) void ConfigItemBuilder::SetPackage(const String& package)
{ {
m_Package = package; m_Package = package;
} }
void ConfigItemBuilder::AddExpression(Expression *expr) void ConfigItemBuilder::AddExpression(Expression *expr)
{ {
m_Expressions.emplace_back(expr); m_Expressions.emplace_back(expr);
} }
void ConfigItemBuilder::SetFilter(const std::shared_ptr<Expression>& filter) void ConfigItemBuilder::SetFilter(const Expression::Ptr& filter)
{ {
m_Filter = filter; m_Filter = filter;
} }
void ConfigItemBuilder::SetDefaultTemplate(bool defaultTmpl) void ConfigItemBuilder::SetDefaultTemplate(bool defaultTmpl)
{ {
m_DefaultTmpl = defaultTmpl; m_DefaultTmpl = defaultTmpl;
} }
void ConfigItemBuilder::SetIgnoreOnError(bool ignoreOnError) void ConfigItemBuilder::SetIgnoreOnError(bool ignoreOnError)
skipping to change at line 114 skipping to change at line 114
} }
ASSERT(foundDefaultImport); ASSERT(foundDefaultImport);
} }
#endif /* I2_DEBUG */ #endif /* I2_DEBUG */
auto *dexpr = new DictExpression(std::move(m_Expressions), m_DebugInfo); auto *dexpr = new DictExpression(std::move(m_Expressions), m_DebugInfo);
dexpr->MakeInline(); dexpr->MakeInline();
exprs.emplace_back(dexpr); exprs.emplace_back(dexpr);
std::shared_ptr<DictExpression> exprl = std::make_shared<DictExpression>( std::move(exprs), m_DebugInfo); auto exprl = new DictExpression(std::move(exprs), m_DebugInfo);
exprl->MakeInline(); exprl->MakeInline();
return new ConfigItem(m_Type, m_Name, m_Abstract, exprl, m_Filter, return new ConfigItem(m_Type, m_Name, m_Abstract, exprl, m_Filter,
m_DefaultTmpl, m_IgnoreOnError, m_DebugInfo, m_Scope, m_Zone, m_P ackage); m_DefaultTmpl, m_IgnoreOnError, m_DebugInfo, m_Scope, m_Zone, m_P ackage);
} }
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)