From d3335f9947e21555c5c6b3b25bbea1ae2d1704f9 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 8 Jan 2024 13:55:13 +0100 Subject: [PATCH] db/simple: make more fields `const` --- src/db/plugins/simple/SimpleDatabasePlugin.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/db/plugins/simple/SimpleDatabasePlugin.hxx b/src/db/plugins/simple/SimpleDatabasePlugin.hxx index 5b544251b..6cc2b4fd0 100644 --- a/src/db/plugins/simple/SimpleDatabasePlugin.hxx +++ b/src/db/plugins/simple/SimpleDatabasePlugin.hxx @@ -21,13 +21,13 @@ class DatabaseListener; class PrefixedLightSong; class SimpleDatabase : public Database { - AllocatedPath path; + const AllocatedPath path; std::string path_utf8; /** * The path where cache files for Mount() are located. */ - AllocatedPath cache_path; + const AllocatedPath cache_path; Directory *root;