update indentation

This commit is contained in:
Emiel Bruijntjes 2018-03-06 09:44:24 +01:00
parent a025e6c1c9
commit baa4450aa6
1 changed files with 8 additions and 4 deletions

View File

@ -30,7 +30,7 @@ private:
/**
* The current socket // @todo what is it exactly?
* @var int
* @var int
*/
int _socket;
@ -39,10 +39,8 @@ public:
* Constructor
* @param fd the filedescriptor that we're waiting on
*/
Wait(int fd)
Wait(int fd) : _socket(fd)
{
_socket = fd;
// initialize the set
FD_ZERO(&_set);
@ -50,6 +48,12 @@ public:
FD_SET(_socket, &_set);
}
/**
* No copying
* @param that
*/
Wait(const Wait &that) = delete;
/**
* Destructor
*/