Browse Source

common/fs/file: Explicitly delete copy constructors

Relocates them to the same place the move equivalents are at for
consistent viewing.
nce_cpp
Lioncash 5 years ago
parent
commit
c0e0c9f71f
  1. 5
      src/common/fs/file.h

5
src/common/fs/file.h

@ -117,7 +117,7 @@ template <typename Path>
}
#endif
class IOFile final : NonCopyable {
class IOFile final {
public:
IOFile();
@ -144,6 +144,9 @@ public:
~IOFile();
IOFile(const IOFile&) = delete;
IOFile& operator=(const IOFile&) = delete;
IOFile(IOFile&& other) noexcept;
IOFile& operator=(IOFile&& other) noexcept;

Loading…
Cancel
Save