db/simple/Directory: make parent and path const
This commit is contained in:
parent
fc0508c047
commit
5cdbad7937
@ -84,11 +84,11 @@ struct Directory {
|
|||||||
|
|
||||||
PlaylistVector playlists;
|
PlaylistVector playlists;
|
||||||
|
|
||||||
Directory *parent;
|
Directory *const parent;
|
||||||
time_t mtime = 0;
|
time_t mtime = 0;
|
||||||
unsigned inode = 0, device = 0;
|
unsigned inode = 0, device = 0;
|
||||||
|
|
||||||
std::string path;
|
const std::string path;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* If this is not nullptr, then this directory does not really
|
* If this is not nullptr, then this directory does not really
|
||||||
|
Loading…
Reference in New Issue
Block a user