mirror of
https://github.com/UltraCoderRU/telebotxx.git
synced 2026-01-28 04:05:13 +00:00
Unnecessary move-assignment operator removed.
This commit is contained in:
parent
9ec8037240
commit
96394c3e0d
2 changed files with 0 additions and 3 deletions
|
|
@ -47,7 +47,6 @@ namespace telebotxx
|
|||
void swap(User&) noexcept;
|
||||
|
||||
const User& operator=(User other);
|
||||
User& operator=(User&& other);
|
||||
|
||||
private:
|
||||
int id_;
|
||||
|
|
|
|||
|
|
@ -68,5 +68,3 @@ const User& User::operator=(User other)
|
|||
swap(other);
|
||||
return *this;
|
||||
}
|
||||
|
||||
User& User::operator=(User&& other) = default;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue