From aba329310979832911cf0f93243e7c6d27a1fc5d Mon Sep 17 00:00:00 2001 From: olivier gayot Date: Thu, 13 Dec 2012 11:59:30 +0000 Subject: le_compte_est_bon: use const attribute with vectors We do not change the vectors at each reccursion, we create a new one instead, so we can set the source vectors to const. --- solver.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'solver.h') diff --git a/solver.h b/solver.h index 357cd91..7fe71b2 100644 --- a/solver.h +++ b/solver.h @@ -6,6 +6,6 @@ typedef struct { unsigned len; } vect_t; -void solve(vect_t *vect, int result); +void solve(const vect_t *vect, int result); #endif /* SOLVER_H */ -- cgit v1.2.3