"Fossies" - the Fresh Open Source Software Archive  

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

configcompiler.cpp  (icinga2-2.11.5):configcompiler.cpp  (icinga2-2.12.0)
skipping to change at line 347 skipping to change at line 347
bool ConfigCompiler::IsAbsolutePath(const String& path) bool ConfigCompiler::IsAbsolutePath(const String& path)
{ {
#ifndef _WIN32 #ifndef _WIN32
return (path.GetLength() > 0 && path[0] == '/'); return (path.GetLength() > 0 && path[0] == '/');
#else /* _WIN32 */ #else /* _WIN32 */
return !PathIsRelative(path.CStr()); return !PathIsRelative(path.CStr());
#endif /* _WIN32 */ #endif /* _WIN32 */
} }
void ConfigCompiler::AddImport(const std::shared_ptr<Expression>& import) void ConfigCompiler::AddImport(const Expression::Ptr& import)
{ {
m_Imports.push_back(import); m_Imports.push_back(import);
} }
std::vector<std::shared_ptr<Expression> > ConfigCompiler::GetImports() const std::vector<Expression::Ptr> ConfigCompiler::GetImports() const
{ {
return m_Imports; return m_Imports;
} }
 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)