mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-25 22:57:22 +00:00
common/fs/file: Explicitly delete copy constructors
Relocates them to the same place the move equivalents are at for consistent viewing.
This commit is contained in:
parent
6806a893bd
commit
210c2c9a56
1 changed files with 4 additions and 1 deletions
|
@ -117,7 +117,7 @@ template <typename Path>
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
class IOFile final : NonCopyable {
|
class IOFile final {
|
||||||
public:
|
public:
|
||||||
IOFile();
|
IOFile();
|
||||||
|
|
||||||
|
@ -144,6 +144,9 @@ public:
|
||||||
|
|
||||||
~IOFile();
|
~IOFile();
|
||||||
|
|
||||||
|
IOFile(const IOFile&) = delete;
|
||||||
|
IOFile& operator=(const IOFile&) = delete;
|
||||||
|
|
||||||
IOFile(IOFile&& other) noexcept;
|
IOFile(IOFile&& other) noexcept;
|
||||||
IOFile& operator=(IOFile&& other) noexcept;
|
IOFile& operator=(IOFile&& other) noexcept;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue