StateFile: use C++11 initializers

This commit is contained in:
Max Kellermann
2016-12-27 23:13:03 +01:00
parent 9e33074735
commit fdb136f1fa
2 changed files with 3 additions and 5 deletions

View File

@@ -42,9 +42,7 @@ StateFile::StateFile(AllocatedPath &&_path, unsigned _interval,
:TimeoutMonitor(_loop),
path(std::move(_path)), path_utf8(path.ToUTF8()),
interval(_interval),
partition(_partition),
prev_volume_version(0), prev_output_version(0),
prev_playlist_version(0)
partition(_partition)
{
}