mirror of
https://github.com/AxioDL/jbus.git
synced 2025-12-08 13:15:11 +00:00
Socket: Add missing noexcept specifier to LastWSAError()
This is used within a noexcept function, so it needs the noexcept specifier.
This commit is contained in:
@@ -108,7 +108,7 @@ void Socket::setRemoteSocket(int remSocket) noexcept {
|
||||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
Socket::EResult Socket::LastWSAError() {
|
||||
Socket::EResult Socket::LastWSAError() noexcept {
|
||||
switch (WSAGetLastError()) {
|
||||
case WSAEWOULDBLOCK:
|
||||
case WSAEALREADY:
|
||||
|
||||
Reference in New Issue
Block a user