diff options
author | Max Kellermann <max@duempel.org> | 2014-10-01 20:23:39 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-10-01 21:14:26 +0200 |
commit | d44da875e777e1cdb9e765e5a518936ee65b68b4 (patch) | |
tree | 7196c19995325727e2f27dfb52cd144125aad761 /src | |
parent | f9ad73598ba08ce26f236eae2691a5c60a6e807d (diff) | |
download | mpd-d44da875e777e1cdb9e765e5a518936ee65b68b4.tar.gz mpd-d44da875e777e1cdb9e765e5a518936ee65b68b4.tar.xz mpd-d44da875e777e1cdb9e765e5a518936ee65b68b4.zip |
storage/nfs: make a few attributes "const"
Diffstat (limited to 'src')
-rw-r--r-- | src/storage/plugins/NfsStorage.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/storage/plugins/NfsStorage.cxx b/src/storage/plugins/NfsStorage.cxx index ecf1fb0b6..0dedf5ca5 100644 --- a/src/storage/plugins/NfsStorage.cxx +++ b/src/storage/plugins/NfsStorage.cxx @@ -38,8 +38,8 @@ extern "C" { class NfsDirectoryReader final : public StorageDirectoryReader { const std::string base; - nfs_context *ctx; - nfsdir *dir; + nfs_context *const ctx; + nfsdir *const dir; nfsdirent *ent; @@ -64,7 +64,7 @@ public: class NfsStorage final : public Storage { const std::string base; - nfs_context *ctx; + nfs_context *const ctx; public: NfsStorage(const char *_base, nfs_context *_ctx) |