db/simple/Directory: make parent and path const

This commit is contained in:
Max Kellermann 2017-02-11 23:15:58 +01:00
parent fc0508c047
commit 5cdbad7937

View File

@ -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