From 1f9a6ccafaa4f35ada3ebffc5caf1544fdd44451 Mon Sep 17 00:00:00 2001 From: Casey Carter Date: Wed, 9 Dec 2020 11:38:11 -0800 Subject: [PATCH] silence future "unused capture" warning Hello, people of 2020! I've traveled back in time to silence a warning about an unused lambda capture that will some day appear without warning, giving birth to Skynet and bringing about the end of days. You're welcome. --- .../tests/Dev11_0748972_function_crash_out_of_memory/test.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/std/tests/Dev11_0748972_function_crash_out_of_memory/test.cpp b/tests/std/tests/Dev11_0748972_function_crash_out_of_memory/test.cpp index fc5793ba34c..6a33ce1099f 100644 --- a/tests/std/tests/Dev11_0748972_function_crash_out_of_memory/test.cpp +++ b/tests/std/tests/Dev11_0748972_function_crash_out_of_memory/test.cpp @@ -76,6 +76,7 @@ void test(const int num) { vector v(10, 1729); long long a = 0, b = 0, c = 0, d = 0, e = 0; auto big_lambda = [v, a, b, c, d, e] { + (void) v; (void) a; (void) b; (void) c;