mirror of
https://github.com/topjohnwu/cxx.git
synced 2025-02-23 17:40:53 +00:00
Remove deletion of Str(std::string &&) constructor
This commit is contained in:
parent
30501b6bef
commit
733cd260f0
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user