From 2bd63a87ed5f7984721a86627269d21fc71a0139 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Tue, 7 Feb 2012 01:37:56 +0100 Subject: [PATCH] Remove OnCommit usage, which does not work anymore. Small hack... --- bigscreen/fetch_group.cpp | 4 ---- bigscreen/fetch_group.h | 1 - 2 files changed, 5 deletions(-) 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) */ -- 2.39.2