diff --git a/eden/fs/fuse/RequestData.h b/eden/fs/fuse/RequestData.h index 803316b3d6..0db5f87544 100644 --- a/eden/fs/fuse/RequestData.h +++ b/eden/fs/fuse/RequestData.h @@ -36,8 +36,8 @@ class RequestData : public folly::RequestData { static const std::string kKey; RequestData(const RequestData&) = delete; RequestData& operator=(const RequestData&) = delete; - RequestData(RequestData&&) = default; - RequestData& operator=(RequestData&&) = default; + RequestData(RequestData&&) = delete; + RequestData& operator=(RequestData&&) = delete; explicit RequestData( FuseChannel* channel, const fuse_in_header& fuseHeader, diff --git a/eden/fs/inodes/InodeMap.h b/eden/fs/inodes/InodeMap.h index 191745a6c8..256db3636a 100644 --- a/eden/fs/inodes/InodeMap.h +++ b/eden/fs/inodes/InodeMap.h @@ -106,8 +106,8 @@ class InodeMap { explicit InodeMap(EdenMount* mount); virtual ~InodeMap(); - InodeMap(InodeMap&&) = default; - InodeMap& operator=(InodeMap&&) = default; + InodeMap(InodeMap&&) = delete; + InodeMap& operator=(InodeMap&&) = delete; /** * Initialize the InodeMap diff --git a/eden/fs/journal/JournalDelta.h b/eden/fs/journal/JournalDelta.h index 24442c095c..603c8fdc97 100644 --- a/eden/fs/journal/JournalDelta.h +++ b/eden/fs/journal/JournalDelta.h @@ -53,8 +53,8 @@ class JournalDelta { enum Renamed { RENAME }; enum Replaced { REPLACE }; JournalDelta() = default; - JournalDelta(JournalDelta&&) = default; - JournalDelta& operator=(JournalDelta&&) = default; + JournalDelta(JournalDelta&&) = delete; + JournalDelta& operator=(JournalDelta&&) = delete; JournalDelta(const JournalDelta&) = delete; JournalDelta& operator=(const JournalDelta&) = delete; JournalDelta(RelativePathPiece fileName, Created); diff --git a/eden/fs/service/EdenServiceHandler.cpp b/eden/fs/service/EdenServiceHandler.cpp index 8a8e8b0658..ef41970fb3 100644 --- a/eden/fs/service/EdenServiceHandler.cpp +++ b/eden/fs/service/EdenServiceHandler.cpp @@ -117,8 +117,8 @@ namespace /* anonymous namespace for helper functions */ { // Helper class to log where the request completes in Future class ThriftLogHelper { public: - ThriftLogHelper(ThriftLogHelper&&) = default; - ThriftLogHelper& operator=(ThriftLogHelper&&) = default; + ThriftLogHelper(ThriftLogHelper&&) = delete; + ThriftLogHelper& operator=(ThriftLogHelper&&) = delete; template ThriftLogHelper(