X-Git-Url: https://git.sesse.net/?p=ccbs;a=blobdiff_plain;f=bigscreen%2Ffetch_list_of_active_groups.h;h=fbac624bf97656e2cc550fc1588926509998f0c8;hp=113160d85f5b69f21357e132a11946e8dc9b0f05;hb=876c65c3f4f828a54fa8041f5d68e3c4cae1d463;hpb=44f3ad694f8fe5dd76602d30c9bc1f3de9650f97 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); };