db/simple: make more fields `const`
This commit is contained in:
parent
1a67062e1e
commit
d3335f9947
|
@ -21,13 +21,13 @@ class DatabaseListener;
|
||||||
class PrefixedLightSong;
|
class PrefixedLightSong;
|
||||||
|
|
||||||
class SimpleDatabase : public Database {
|
class SimpleDatabase : public Database {
|
||||||
AllocatedPath path;
|
const AllocatedPath path;
|
||||||
std::string path_utf8;
|
std::string path_utf8;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The path where cache files for Mount() are located.
|
* The path where cache files for Mount() are located.
|
||||||
*/
|
*/
|
||||||
AllocatedPath cache_path;
|
const AllocatedPath cache_path;
|
||||||
|
|
||||||
Directory *root;
|
Directory *root;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue