"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/base/scriptglobal.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.

scriptglobal.cpp  (icinga2-2.11.5):scriptglobal.cpp  (icinga2-2.12.0)
skipping to change at line 68 skipping to change at line 68
} }
} }
} }
parent->SetFieldByName(tokens[tokens.size() - 1], value, override Frozen, DebugInfo()); parent->SetFieldByName(tokens[tokens.size() - 1], value, override Frozen, DebugInfo());
} }
} }
void ScriptGlobal::SetConst(const String& name, const Value& value) void ScriptGlobal::SetConst(const String& name, const Value& value)
{ {
GetGlobals()->SetAttribute(name, std::make_shared<ConstEmbeddedNamespaceV alue>(value)); GetGlobals()->SetAttribute(name, new ConstEmbeddedNamespaceValue(value));
} }
bool ScriptGlobal::Exists(const String& name) bool ScriptGlobal::Exists(const String& name)
{ {
return m_Globals->Contains(name); return m_Globals->Contains(name);
} }
Namespace::Ptr ScriptGlobal::GetGlobals() Namespace::Ptr ScriptGlobal::GetGlobals()
{ {
return m_Globals; return m_Globals;
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

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