diff --git a/include/telebotxx/User.hpp b/include/telebotxx/User.hpp index 67af79d..ea5e3fc 100644 --- a/include/telebotxx/User.hpp +++ b/include/telebotxx/User.hpp @@ -47,7 +47,6 @@ namespace telebotxx void swap(User&) noexcept; const User& operator=(User other); - User& operator=(User&& other); private: int id_; diff --git a/src/User.cpp b/src/User.cpp index 603dc5b..9f03891 100644 --- a/src/User.cpp +++ b/src/User.cpp @@ -68,5 +68,3 @@ const User& User::operator=(User other) swap(other); return *this; } - -User& User::operator=(User&& other) = default;