Instance: move code to OnStateModified()

This commit is contained in:
Max Kellermann
2020-01-20 13:28:00 +01:00
parent 5d597a3646
commit 6fcea2d484
3 changed files with 17 additions and 3 deletions

View File

@@ -70,6 +70,13 @@ Instance::~Instance() noexcept
#endif
}
void
Instance::OnStateModified() noexcept
{
if (state_file)
state_file->CheckModified();
}
Partition *
Instance::FindPartition(const char *name) noexcept
{