From 56b062ca039542c24981939d74d8346715ed0306 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Fri, 17 Apr 2015 11:04:48 +0200 Subject: [PATCH] Fix warnings in bundled boost --- .../include/boost/graph/detail/adjacency_list.hpp | 4 ++-- .../include/boost/signals2/detail/variadic_slot_invoker.hpp | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bundled/boost-1.56.0/include/boost/graph/detail/adjacency_list.hpp b/bundled/boost-1.56.0/include/boost/graph/detail/adjacency_list.hpp index f2a9856d52..da4ae1997e 100644 --- a/bundled/boost-1.56.0/include/boost/graph/detail/adjacency_list.hpp +++ b/bundled/boost-1.56.0/include/boost/graph/detail/adjacency_list.hpp @@ -323,8 +323,8 @@ namespace boost { return *this; } #else - stored_edge_property(self&& x) = default; - self& operator=(self&& x) = default; + stored_edge_property(self&&) = default; + self& operator=(self&&) = default; #endif inline Property& get_property() { return *m_property; } inline const Property& get_property() const { return *m_property; } diff --git a/bundled/boost-1.56.0/include/boost/signals2/detail/variadic_slot_invoker.hpp b/bundled/boost-1.56.0/include/boost/signals2/detail/variadic_slot_invoker.hpp index 6d9227efb8..02cc65aa93 100644 --- a/bundled/boost-1.56.0/include/boost/signals2/detail/variadic_slot_invoker.hpp +++ b/bundled/boost-1.56.0/include/boost/signals2/detail/variadic_slot_invoker.hpp @@ -94,6 +94,7 @@ namespace boost template R m_invoke(void *, Func &func, unsigned_meta_array, BOOST_SIGNALS2_TUPLE args) const { + (void)args; // Silence a faulty -Wunused-but-set-parameter diagnostic emitted by gcc up to 4.8* func(BOOST_SIGNALS2_GET(args)...); return R(); } -- 2.39.5