fix some tournament state bugs

This commit is contained in:
Martin Michelsen
2022-12-08 18:38:46 -08:00
parent 5f04cbaecb
commit bdff48c343
4 changed files with 57 additions and 21 deletions
+1 -2
View File
@@ -76,7 +76,7 @@ public:
std::string str() const;
bool resolve_if_no_players();
void resolve_following_matches();
void on_winner_team_set();
void set_winner_team(std::shared_ptr<Team> team);
std::shared_ptr<Team> opponent_team_for_team(std::shared_ptr<Team> team) const;
};
@@ -108,7 +108,6 @@ public:
void start();
void print_bracket(FILE* stream) const;
void print_bracket_stderr() const;
private:
PrefixedLogger log;