StateFile: add noexcept

This commit is contained in:
Max Kellermann
2019-04-24 14:54:17 +02:00
parent b985835d8b
commit 0641ce79fe
2 changed files with 4 additions and 4 deletions

View File

@@ -148,14 +148,14 @@ try {
}
void
StateFile::CheckModified()
StateFile::CheckModified() noexcept
{
if (!timer_event.IsActive() && IsModified())
timer_event.Schedule(config.interval);
}
void
StateFile::OnTimeout()
StateFile::OnTimeout() noexcept
{
Write();
}