diff options
Diffstat (limited to 'src/connectionhandler.h')
-rw-r--r-- | src/connectionhandler.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/connectionhandler.h b/src/connectionhandler.h index b09e944..7779b1f 100644 --- a/src/connectionhandler.h +++ b/src/connectionhandler.h @@ -39,6 +39,7 @@ typedef struct libwebsocket* clientid_t; typedef std::map<clientid_t, std::set<taskid_t> > ConnectionList; +typedef std::list<std::pair<clientid_t, taskid_t> > ObserverList; class ConnectionHandler { public: @@ -50,7 +51,7 @@ public: void unobserve(clientid_t clientid, taskid_t taskid); - std::list<std::pair<clientid_t, taskid_t> > observerlist(TaskIdList tasklist); + ObserverList observerlist(TaskIdList tasklist); private: ConnectionList connlist; |