mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-20 16:15:43 +00:00
IWD code style changes
This commit is contained in:
parent
641ee15775
commit
464f8231df
@ -37,7 +37,7 @@ public:
|
|||||||
m_open = true;
|
m_open = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
~IWDFile()
|
~IWDFile() override
|
||||||
{
|
{
|
||||||
if(m_open)
|
if(m_open)
|
||||||
{
|
{
|
||||||
@ -257,9 +257,9 @@ public:
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
for(auto& entry : m_entry_map)
|
for(auto& [entryName, entry] : m_entry_map)
|
||||||
{
|
{
|
||||||
std::filesystem::path entryPath(entry.first);
|
std::filesystem::path entryPath(entryName);
|
||||||
|
|
||||||
if(!options.m_should_include_subdirectories && entryPath.has_parent_path())
|
if(!options.m_should_include_subdirectories && entryPath.has_parent_path())
|
||||||
continue;
|
continue;
|
||||||
@ -267,7 +267,7 @@ public:
|
|||||||
if(options.m_filter_extensions && options.m_extension != entryPath.extension().string())
|
if(options.m_filter_extensions && options.m_extension != entryPath.extension().string())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
callback(entry.first);
|
callback(entryName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user