From: Steinar H. Gunderson Date: Tue, 7 Feb 2012 00:37:56 +0000 (+0100) Subject: Remove OnCommit usage, which does not work anymore. Small hack... X-Git-Url: https://git.sesse.net/?p=ccbs;a=commitdiff_plain;h=2bd63a87ed5f7984721a86627269d21fc71a0139 Remove OnCommit usage, which does not work anymore. Small hack... --- diff --git a/bigscreen/fetch_group.cpp b/bigscreen/fetch_group.cpp index 7bca2f6..2c58762 100644 --- a/bigscreen/fetch_group.cpp +++ b/bigscreen/fetch_group.cpp @@ -60,9 +60,5 @@ void FetchGroup::operator() (pqxx::transaction<> &t) curr_group.players[curr_group.players.size() - 1].scores.push_back(sc); } -} - -void FetchGroup::OnCommit() -{ *dest_group = curr_group; } diff --git a/bigscreen/fetch_group.h b/bigscreen/fetch_group.h index 78b943e..33e6a0b 100644 --- a/bigscreen/fetch_group.h +++ b/bigscreen/fetch_group.h @@ -14,7 +14,6 @@ private: public: FetchGroup(unsigned tournament, unsigned round, unsigned parallel, Group *group); void operator() (pqxx::transaction<> &t); - void OnCommit(); }; #endif /* !defined(_FETCH_CURRENT_TOURNAMENT_H) */