Reformat code with clang format

This commit is contained in:
Clang Format
2023-11-19 15:28:38 +01:00
committed by Jan
parent 22e17272fd
commit 6b4f5d94a8
1099 changed files with 16763 additions and 18076 deletions

View File

@ -4,11 +4,11 @@
SearchPathOpenFile SearchPaths::Open(const std::string& fileName)
{
for(auto* searchPathEntry : m_search_paths)
for (auto* searchPathEntry : m_search_paths)
{
auto file = searchPathEntry->Open(fileName);
if(file.IsOpen())
if (file.IsOpen())
{
return file;
}
@ -43,9 +43,9 @@ void SearchPaths::IncludeSearchPath(ISearchPath* searchPath)
void SearchPaths::RemoveSearchPath(ISearchPath* searchPath)
{
for(auto i = m_search_paths.begin(); i != m_search_paths.end(); ++i)
for (auto i = m_search_paths.begin(); i != m_search_paths.end(); ++i)
{
if(*i == searchPath)
if (*i == searchPath)
{
m_search_paths.erase(i);
return;
@ -61,4 +61,4 @@ SearchPaths::iterator SearchPaths::begin()
SearchPaths::iterator SearchPaths::end()
{
return m_search_paths.end();
}
}