PollGroupWinSelect: uninline constructor and destructor
This commit is contained in:
parent
2b717997e2
commit
1003cc9bf9
@ -31,6 +31,9 @@ static inline bool HasEvent(unsigned events, int event_id)
|
|||||||
return (events & (1 << event_id)) != 0;
|
return (events & (1 << event_id)) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
PollGroupWinSelect::PollGroupWinSelect() { }
|
||||||
|
PollGroupWinSelect::~PollGroupWinSelect() { }
|
||||||
|
|
||||||
bool PollGroupWinSelect::CanModify(PollGroupWinSelect::Item &item,
|
bool PollGroupWinSelect::CanModify(PollGroupWinSelect::Item &item,
|
||||||
unsigned events, int event_id)
|
unsigned events, int event_id)
|
||||||
{
|
{
|
||||||
|
@ -96,8 +96,8 @@ public:
|
|||||||
static constexpr unsigned ERROR = 0;
|
static constexpr unsigned ERROR = 0;
|
||||||
static constexpr unsigned HANGUP = 0;
|
static constexpr unsigned HANGUP = 0;
|
||||||
|
|
||||||
PollGroupWinSelect() { }
|
PollGroupWinSelect();
|
||||||
~PollGroupWinSelect() { }
|
~PollGroupWinSelect();
|
||||||
|
|
||||||
void ReadEvents(PollResultGeneric &result, int timeout_ms);
|
void ReadEvents(PollResultGeneric &result, int timeout_ms);
|
||||||
bool Add(int fd, unsigned events, void *obj);
|
bool Add(int fd, unsigned events, void *obj);
|
||||||
|
Loading…
Reference in New Issue
Block a user