From d44da875e777e1cdb9e765e5a518936ee65b68b4 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 1 Oct 2014 20:23:39 +0200 Subject: storage/nfs: make a few attributes "const" --- src/storage/plugins/NfsStorage.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/storage/plugins/NfsStorage.cxx') 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) -- cgit v1.2.3