Move dummy_fd_set into Select
Now that we have select.cc.
This commit is contained in:
committed by
Keith Winstein
parent
768d4ce797
commit
7fc1aa30a5
+1
-2
@@ -28,8 +28,6 @@
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
|
||||
static fd_set dummy_fd_set;
|
||||
|
||||
/* Convenience wrapper for select(2). */
|
||||
class Select {
|
||||
public:
|
||||
@@ -102,6 +100,7 @@ public:
|
||||
|
||||
private:
|
||||
int max_fd;
|
||||
static fd_set dummy_fd_set;
|
||||
fd_set all_fds, read_fds, error_fds;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user