From 793c2ed9cfe2629c417a7fbb218712ff4f03ec9e Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Mon, 17 Jul 2017 19:29:57 +0200 Subject: [PATCH] Slight style change --- src/diff.hh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/diff.hh b/src/diff.hh index 306ed301..ea77f10b 100644 --- a/src/diff.hh +++ b/src/diff.hh @@ -167,9 +167,7 @@ Vector find_diff(Iterator a, int N, Iterator b, int M, Equal eq = Equal{}) const int max = 2 * (N + M) + 1; Vector data(2*max); Vector diffs; - find_diff_rec(a, 0, N, b, 0, M, - data.data() + (N+M), data.data() + max + (N+M), - eq, diffs); + find_diff_rec(a, 0, N, b, 0, M, &data[N+M], &data[max + N+M], eq, diffs); return diffs; }