clang-tidy: add explicit deleted constructors
Found with cppcoreguidelines-special-member-functions Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -85,6 +85,9 @@ public:
|
||||
nfs_finish();
|
||||
}
|
||||
|
||||
NfsStorage(const NfsStorage &) = delete;
|
||||
NfsStorage &operator=(const NfsStorage &) = delete;
|
||||
|
||||
/* virtual methods from class Storage */
|
||||
StorageFileInfo GetInfo(std::string_view uri_utf8, bool follow) override;
|
||||
|
||||
|
@@ -93,6 +93,9 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
UdisksStorage(const UdisksStorage &) = delete;
|
||||
UdisksStorage &operator=(const UdisksStorage &) = delete;
|
||||
|
||||
EventLoop &GetEventLoop() const noexcept {
|
||||
return defer_mount.GetEventLoop();
|
||||
}
|
||||
|
Reference in New Issue
Block a user