diff options
author | Max Kellermann <max@duempel.org> | 2013-08-07 19:54:38 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-08-07 19:59:09 +0200 |
commit | b76a29a69ae5412c3c1d101eefa9562990e74407 (patch) | |
tree | 5c60aa1bb5e6a8d134707291d12fb4ebb77c06c8 /src/StateFile.cxx | |
parent | abe090ec1f2255ce422f74e5b59bffc83aaff875 (diff) | |
download | mpd-b76a29a69ae5412c3c1d101eefa9562990e74407.tar.gz mpd-b76a29a69ae5412c3c1d101eefa9562990e74407.tar.xz mpd-b76a29a69ae5412c3c1d101eefa9562990e74407.zip |
ConfigPath: return a Path object
Migrate all callers to use Path directly, instead of doing the
conversion in each caller.
Diffstat (limited to '')
-rw-r--r-- | src/StateFile.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/StateFile.cxx b/src/StateFile.cxx index 73af1777c..caba82da8 100644 --- a/src/StateFile.cxx +++ b/src/StateFile.cxx @@ -34,9 +34,10 @@ #undef G_LOG_DOMAIN #define G_LOG_DOMAIN "state_file" -StateFile::StateFile(Path &&_path, const char *_path_utf8, - Partition &_partition, EventLoop &_loop) - :TimeoutMonitor(_loop), path(std::move(_path)), path_utf8(_path_utf8), +StateFile::StateFile(Path &&_path, + Partition &_partition, EventLoop &_loop) + :TimeoutMonitor(_loop), + path(std::move(_path)), path_utf8(path.ToUTF8()), partition(_partition), prev_volume_version(0), prev_output_version(0), prev_playlist_version(0) |