Mercurial > code
changeset 387:6a7421f7302f
Socket: make the socket explicit
author | David Demelier <markand@malikania.fr> |
---|---|
date | Tue, 30 Jun 2015 13:52:57 +0200 |
parents | 743b3a1c71c8 |
children | 131ecc6ce7b5 |
files | C++/modules/Socket/Socket.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/C++/modules/Socket/Socket.h Wed Jun 24 09:37:43 2015 +0200 +++ b/C++/modules/Socket/Socket.h Tue Jun 30 13:52:57 2015 +0200 @@ -334,7 +334,7 @@ * * @param handle the native descriptor */ - inline SocketAbstract(Handle handle) noexcept + explicit inline SocketAbstract(Handle handle) noexcept : m_handle{handle} , m_state{SocketState::Opened} {