Merge pull request #12283 from Dentomologist/wiisocket_delete_move_assignment_operator

WiiSocket: Explicitly delete move assignment operator
This commit is contained in:
Admiral H. Curtiss 2023-11-11 13:31:16 +01:00 committed by GitHub
commit f35ee22755
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -182,10 +182,10 @@ class WiiSocket
public:
explicit WiiSocket(WiiSockMan& socket_manager) : m_socket_manager(socket_manager) {}
WiiSocket(const WiiSocket&) = delete;
WiiSocket(WiiSocket&&) = default;
WiiSocket(WiiSocket&&) = delete;
~WiiSocket();
WiiSocket& operator=(const WiiSocket&) = delete;
WiiSocket& operator=(WiiSocket&&) = default;
WiiSocket& operator=(WiiSocket&&) = delete;
private:
using Timeout = std::chrono::time_point<std::chrono::steady_clock>;