diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/socketengines/socketengine_select.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/socketengines/socketengine_select.h b/include/socketengines/socketengine_select.h index f50eb8d5d..a248e8a8e 100644 --- a/include/socketengines/socketengine_select.h +++ b/include/socketengines/socketengine_select.h @@ -33,10 +33,10 @@ class SelectEngine : public SocketEngine private: /** Because select() does not track an fd list for us between calls, we have one of our own */ - std::map<int,int> fds; + std::set<int> fds; /** List of writeable ones (WantWrite()) */ - bool* writeable; + std::vector<bool> writeable; /** The read set and write set, populated before each call to select(). */ fd_set wfdset, rfdset, errfdset; |