From 15527561ebf9e5f54d47165de6f294c6132b5928 Mon Sep 17 00:00:00 2001 From: Jason Lokerson Date: Thu, 29 Oct 2015 21:59:10 -0700 Subject: [PATCH] Correct Mac build error --- autowiring/atomic_list.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/autowiring/atomic_list.h b/autowiring/atomic_list.h index 03644be32..aace3a4e5 100644 --- a/autowiring/atomic_list.h +++ b/autowiring/atomic_list.h @@ -75,7 +75,9 @@ namespace autowiring { {} ~chain(void) { // Deletion convenience: - for(auto& x : *this) {} + for(auto& x : *this) { + (void)x; + } } struct end_iterator;