Fix some minor stuff

This commit is contained in:
Jérôme Leclercq
2020-09-06 17:09:39 +02:00
parent 67b0d70b7c
commit 193deb6c04
10 changed files with 96 additions and 94 deletions

View File

@@ -71,7 +71,7 @@ namespace Nz
* \brief Closes the socket
*/
void AbstractSocket::Close()
void AbstractSocket::Close() noexcept
{
if (m_handle != SocketImpl::InvalidHandle)
{
@@ -237,7 +237,7 @@ namespace Nz
* \param abstractSocket AbstractSocket to move in this
*/
AbstractSocket& AbstractSocket::operator=(AbstractSocket&& abstractSocket)
AbstractSocket& AbstractSocket::operator=(AbstractSocket&& abstractSocket) noexcept
{
Close();