storage/nfs: make a few attributes "const"
This commit is contained in:
parent
f9ad73598b
commit
d44da875e7
@ -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:
|
|||||||
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user