diff --git a/src/FileEntry.cc b/src/FileEntry.cc index a23534350..5e9760857 100644 --- a/src/FileEntry.cc +++ b/src/FileEntry.cc @@ -90,17 +90,6 @@ FileEntry::FileEntry() FileEntry::~FileEntry() = default; -FileEntry& FileEntry::operator=(const FileEntry& entry) -{ - if (this != &entry) { - path_ = entry.path_; - length_ = entry.length_; - offset_ = entry.offset_; - requested_ = entry.requested_; - } - return *this; -} - bool FileEntry::operator<(const FileEntry& fileEntry) const { return offset_ < fileEntry.offset_; diff --git a/src/FileEntry.h b/src/FileEntry.h index d304ce169..cbd3c072e 100644 --- a/src/FileEntry.h +++ b/src/FileEntry.h @@ -111,8 +111,6 @@ public: ~FileEntry(); - FileEntry& operator=(const FileEntry& entry); - std::string getBasename() const; std::string getDirname() const;