# | Line 15 | Line 15 | private: | |
---|---|---|
15 | const std::set<Buddy>& buddies; | |
16 | const Database& database; | |
17 | bool start; | |
18 | < | api::Thread publisher; |
19 | < | int publish(); |
20 | < | int update(); |
18 | > | void publish(); |
19 | public: | |
20 | Publisher(const std::set<Buddy>& buddies, const Database& database, bool start); | |
23 | – | ~Publisher() { if (start) publisher.Join(); } |
21 | }; | |
22 | ||
23 | #endif // _Publisher_hpp_ |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |