From: APTX Date: Sun, 5 Dec 2010 18:49:20 +0000 (+0100) Subject: gcc fixes X-Git-Url: https://gitweb.aptx.org/?a=commitdiff_plain;h=d1efd3e5df00f0f118c88ac1b0ccb0f6804db84b;p=tal.git gcc fixes --- diff --git a/tal-algorithm/main.cpp b/tal-algorithm/main.cpp index c2790cf..7a672e3 100644 --- a/tal-algorithm/main.cpp +++ b/tal-algorithm/main.cpp @@ -197,7 +197,6 @@ void solve_dp(Problem * p) p->totalValue = V(p->count, p->limit); } STOP_CPU; - DEALLOC(int, 1); DEALLOC(int, 1); DEALLOC(int, (p->count + 1) * (p->limit + 1)); @@ -370,7 +369,8 @@ int main(int argc, char **argv) delete p; goto help; } -cout << *p; + + cout << *p; for (int i = 0; i < runs; ++i) {