mirror of https://github.com/AxioDL/jbus.git
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:
parent
d4891f187f
commit
714e88bb7a
|
@ -108,7 +108,7 @@ void Socket::setRemoteSocket(int remSocket) noexcept {
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
Socket::EResult Socket::LastWSAError() {
|
Socket::EResult Socket::LastWSAError() noexcept {
|
||||||
switch (WSAGetLastError()) {
|
switch (WSAGetLastError()) {
|
||||||
case WSAEWOULDBLOCK:
|
case WSAEWOULDBLOCK:
|
||||||
case WSAEALREADY:
|
case WSAEALREADY:
|
||||||
|
|
Loading…
Reference in New Issue