Remove deletion of Str(std::string &&) constructor

This commit is contained in:
David Tolnay 2020-11-21 11:57:59 -08:00
parent 30501b6bef
commit 733cd260f0
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82
2 changed files with 0 additions and 2 deletions

View File

@ -20,7 +20,6 @@ public:
Str(const std::string &);
Str(const char *);
Str(const char *, size_t);
Str(std::string &&) = delete;
Str &operator=(const Str &) noexcept;

View File

@ -63,7 +63,6 @@ public:
Str(const std::string &);
Str(const char *);
Str(const char *, size_t);
Str(std::string &&) = delete;
Str &operator=(const Str &) noexcept = default;