refactor: refactor ZoneDefWriter

This commit is contained in:
Jan
2024-10-13 00:57:35 +02:00
parent eec643fab5
commit c034ac790a
28 changed files with 159 additions and 180 deletions

View File

@ -377,7 +377,7 @@ bool UnlinkerArgs::ParseArgs(const int argc, const char** argv, bool& shouldCont
return true;
}
std::string UnlinkerArgs::GetOutputFolderPathForZone(const Zone* zone) const
std::string UnlinkerArgs::GetOutputFolderPathForZone(const Zone& zone) const
{
return std::regex_replace(m_output_folder, m_zone_pattern, zone->m_name);
return std::regex_replace(m_output_folder, m_zone_pattern, zone.m_name);
}