# | Line 6 | Line 6 | |
---|---|---|
6 | ||
7 | #include "Publisher.hpp" | |
8 | ||
9 | < | Publisher::Publisher(const std::set<Buddy>& buddies) |
9 | > | Publisher::Publisher(const std::set<Buddy>& buddies, bool start) : start(start) |
10 | { | |
11 | < | // |
11 | > | if (start) |
12 | > | { |
13 | > | publisher.Spawn(etl::BindAll(&Publisher::publish, this, buddies)); |
14 | > | } |
15 | > | } |
16 | > | |
17 | > | int Publisher::publish(const std::set<Buddy>& buddies) |
18 | > | { |
19 | > | cerr << "Publisher::publish()\n"; |
20 | > | |
21 | > | // publish |
22 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |