aboutsummaryrefslogtreecommitdiffstats
path: root/src/event
diff options
context:
space:
mode:
authorDenis Krjuchkov <denis@crazydev.net>2013-12-03 11:41:36 +0600
committerDenis Krjuchkov <denis@crazydev.net>2013-12-03 11:41:36 +0600
commit1003cc9bf9b39eb99aea16f840f51f12d885e952 (patch)
treeeca79b0583bd904c032327249b0f4e61703d5058 /src/event
parent2b717997e2d09d18e569cd36524aef0f8a3b1716 (diff)
downloadmpd-1003cc9bf9b39eb99aea16f840f51f12d885e952.tar.gz
mpd-1003cc9bf9b39eb99aea16f840f51f12d885e952.tar.xz
mpd-1003cc9bf9b39eb99aea16f840f51f12d885e952.zip
PollGroupWinSelect: uninline constructor and destructor
Diffstat (limited to 'src/event')
-rw-r--r--src/event/PollGroupWinSelect.cxx3
-rw-r--r--src/event/PollGroupWinSelect.hxx4
2 files changed, 5 insertions, 2 deletions
diff --git a/src/event/PollGroupWinSelect.cxx b/src/event/PollGroupWinSelect.cxx
index 1050ffa8a..b184ff2b2 100644
--- a/src/event/PollGroupWinSelect.cxx
+++ b/src/event/PollGroupWinSelect.cxx
@@ -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)
{
diff --git a/src/event/PollGroupWinSelect.hxx b/src/event/PollGroupWinSelect.hxx
index 722d06f52..827dc9989 100644
--- a/src/event/PollGroupWinSelect.hxx
+++ b/src/event/PollGroupWinSelect.hxx
@@ -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);