PollGroupWinSelect: uninline constructor and destructor

This commit is contained in:
Denis Krjuchkov 2013-12-03 11:41:36 +06:00
parent 2b717997e2
commit 1003cc9bf9
2 changed files with 5 additions and 2 deletions

View File

@ -31,6 +31,9 @@ static inline bool HasEvent(unsigned events, int event_id)
return (events & (1 << event_id)) != 0;
}
PollGroupWinSelect::PollGroupWinSelect() { }
PollGroupWinSelect::~PollGroupWinSelect() { }
bool PollGroupWinSelect::CanModify(PollGroupWinSelect::Item &item,
unsigned events, int event_id)
{

View File

@ -96,8 +96,8 @@ public:
static constexpr unsigned ERROR = 0;
static constexpr unsigned HANGUP = 0;
PollGroupWinSelect() { }
~PollGroupWinSelect() { }
PollGroupWinSelect();
~PollGroupWinSelect();
void ReadEvents(PollResultGeneric &result, int timeout_ms);
bool Add(int fd, unsigned events, void *obj);