aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-08-24 13:00:30 +0200
committerMax Kellermann <max@duempel.org>2014-08-24 13:24:20 +0200
commitd383d617c2d16bda9f32fe31e0171a59f4601f89 (patch)
tree334947d70c297ae1940297a045e8e187d20960a2
parent9d04c21cc23e889ae3e8b110e18d3d04a9729ee5 (diff)
downloadmpd-d383d617c2d16bda9f32fe31e0171a59f4601f89.tar.gz
mpd-d383d617c2d16bda9f32fe31e0171a59f4601f89.tar.xz
mpd-d383d617c2d16bda9f32fe31e0171a59f4601f89.zip
StateFile: make "path" const
-rw-r--r--src/StateFile.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/StateFile.hxx b/src/StateFile.hxx
index 609651c92..4bacb3449 100644
--- a/src/StateFile.hxx
+++ b/src/StateFile.hxx
@@ -31,8 +31,8 @@ class OutputStream;
class BufferedOutputStream;
class StateFile final : private TimeoutMonitor {
- AllocatedPath path;
- std::string path_utf8;
+ const AllocatedPath path;
+ const std::string path_utf8;
Partition &partition;