Use implicit copy-constructor generated by compiler

This also suppresses the following clang warning:
warning: definition of implicit copy assignment operator for 'Version<unsigned short, 2>' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy]
This commit is contained in:
Chocobo1
2021-11-28 18:35:15 +08:00
parent 51469f8fa2
commit e6f07a6fe4
3 changed files with 2 additions and 9 deletions

View File

@@ -64,7 +64,6 @@ namespace BitTorrent
#endif
InfoHash() = default;
InfoHash(const InfoHash &other) = default;
InfoHash(const WrappedType &nativeHash);
bool isValid() const;