TROPUSR: Optimization

This commit is contained in:
Eladash 2021-03-13 15:42:35 +02:00 committed by Ivan
parent 48870f3e8b
commit 3a2b9f83ec

View File

@ -132,21 +132,9 @@ bool TROPUSRLoader::Save(const std::string& filepath)
}
temp.file.write(m_header);
for (const TROPUSRTableHeader& tableHeader : m_tableHeaders)
{
temp.file.write(tableHeader);
}
for (const auto& entry : m_table4)
{
temp.file.write(entry);
}
for (const auto& entry : m_table6)
{
temp.file.write(entry);
}
temp.file.write(m_tableHeaders);
temp.file.write(m_table4);
temp.file.write(m_table6);
return temp.commit();
}