From 5cdbad7937510bd4dec74c8305e7016ce1599224 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 11 Feb 2017 23:15:58 +0100 Subject: [PATCH] db/simple/Directory: make parent and path const --- src/db/plugins/simple/Directory.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/db/plugins/simple/Directory.hxx b/src/db/plugins/simple/Directory.hxx index e1eb240ed..6e20716ab 100644 --- a/src/db/plugins/simple/Directory.hxx +++ b/src/db/plugins/simple/Directory.hxx @@ -84,11 +84,11 @@ struct Directory { PlaylistVector playlists; - Directory *parent; + Directory *const parent; time_t mtime = 0; unsigned inode = 0, device = 0; - std::string path; + const std::string path; /** * If this is not nullptr, then this directory does not really