From dd30056f5fb118bf31427cea06a607cee8bacecc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Hern=C3=A1ndez=20Cordero?= Date: Fri, 17 May 2024 22:59:59 +0200 Subject: [PATCH] Removed warning (#682) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alejandro Hernández Cordero --- tf2/test/cache_benchmark.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tf2/test/cache_benchmark.cpp b/tf2/test/cache_benchmark.cpp index 4d0ea19fc..af7241f08 100644 --- a/tf2/test/cache_benchmark.cpp +++ b/tf2/test/cache_benchmark.cpp @@ -54,7 +54,7 @@ static void benchmark_insertion(benchmark::State & state) } // Insert data to cache - auto insert_data = [&example_items, num_tform, dt]( + auto insert_data = [ =, &example_items]( tf2::TimeCache & cache, tf2::TimePoint timestamp, int step,