From c022863e8b33ef78a355a7bcad7391fde2348185 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 15 Dec 2018 14:50:11 +0100 Subject: [PATCH] fix unused lambda capture --- cell.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cell.cpp b/cell.cpp index 3055d9a6..4d219309 100644 --- a/cell.cpp +++ b/cell.cpp @@ -1154,7 +1154,7 @@ euc_pointer euclideanAtCreate(int vec) { } c = newCell(8, encodeId(vec)); // euclideanAt(vec) = c; - build_euclidean_moves(c, vec, [ep, c,vec] (int delta, int d, int d2) { + build_euclidean_moves(c, vec, [c,vec] (int delta, int d, int d2) { euc_pointer ep2 = euclideanAt(vec + delta); cell* c2 = *ep2.first; if(!c2) return;