X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=bigscreen%2Ffetch_list_of_active_groups.h;h=fbac624bf97656e2cc550fc1588926509998f0c8;hb=de70f8aa6723fe016286a190ff46c0019b35f7e8;hp=113160d85f5b69f21357e132a11946e8dc9b0f05;hpb=44f3ad694f8fe5dd76602d30c9bc1f3de9650f97;p=ccbs diff --git a/bigscreen/fetch_list_of_active_groups.h b/bigscreen/fetch_list_of_active_groups.h index 113160d..fbac624 100644 --- a/bigscreen/fetch_list_of_active_groups.h +++ b/bigscreen/fetch_list_of_active_groups.h @@ -4,17 +4,17 @@ #include #include -struct Group { - unsigned tournament, round, parallel; +struct SkeletonGroup { + unsigned tournament, round, parallel, num_machines; }; /* A transactor that fetches the current list of active groups. */ class FetchListOfActiveGroups : public pqxx::transactor<> { private: - std::vector *active; + std::vector *active; public: - FetchListOfActiveGroups(std::vector *active); + FetchListOfActiveGroups(std::vector *active); void operator() (pqxx::transaction<> &t); };