update indentation
This commit is contained in:
parent
a025e6c1c9
commit
baa4450aa6
|
|
@ -30,7 +30,7 @@ private:
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The current socket // @todo what is it exactly?
|
* The current socket // @todo what is it exactly?
|
||||||
* @var int
|
* @var int
|
||||||
*/
|
*/
|
||||||
int _socket;
|
int _socket;
|
||||||
|
|
||||||
|
|
@ -39,10 +39,8 @@ public:
|
||||||
* Constructor
|
* Constructor
|
||||||
* @param fd the filedescriptor that we're waiting on
|
* @param fd the filedescriptor that we're waiting on
|
||||||
*/
|
*/
|
||||||
Wait(int fd)
|
Wait(int fd) : _socket(fd)
|
||||||
{
|
{
|
||||||
_socket = fd;
|
|
||||||
|
|
||||||
// initialize the set
|
// initialize the set
|
||||||
FD_ZERO(&_set);
|
FD_ZERO(&_set);
|
||||||
|
|
||||||
|
|
@ -50,6 +48,12 @@ public:
|
||||||
FD_SET(_socket, &_set);
|
FD_SET(_socket, &_set);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* No copying
|
||||||
|
* @param that
|
||||||
|
*/
|
||||||
|
Wait(const Wait &that) = delete;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Destructor
|
* Destructor
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue