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:
Lioncash 2019-09-03 00:27:26 -04:00
parent d4891f187f
commit 714e88bb7a
1 changed files with 1 additions and 1 deletions

View File

@ -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: