From d383d617c2d16bda9f32fe31e0171a59f4601f89 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 24 Aug 2014 13:00:30 +0200 Subject: StateFile: make "path" const --- src/StateFile.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/StateFile.hxx') 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; -- cgit v1.2.3