Commit d44da875 authored by Max Kellermann's avatar Max Kellermann

storage/nfs: make a few attributes "const"

parent f9ad7359
...@@ -38,8 +38,8 @@ extern "C" { ...@@ -38,8 +38,8 @@ extern "C" {
class NfsDirectoryReader final : public StorageDirectoryReader { class NfsDirectoryReader final : public StorageDirectoryReader {
const std::string base; const std::string base;
nfs_context *ctx; nfs_context *const ctx;
nfsdir *dir; nfsdir *const dir;
nfsdirent *ent; nfsdirent *ent;
...@@ -64,7 +64,7 @@ public: ...@@ -64,7 +64,7 @@ public:
class NfsStorage final : public Storage { class NfsStorage final : public Storage {
const std::string base; const std::string base;
nfs_context *ctx; nfs_context *const ctx;
public: public:
NfsStorage(const char *_base, nfs_context *_ctx) NfsStorage(const char *_base, nfs_context *_ctx)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment