]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix warnings in bundled boost 821/head
authorMatthias Maier <matthias.maier@iwr.uni-heidelberg.de>
Fri, 17 Apr 2015 09:04:48 +0000 (11:04 +0200)
committerMatthias Maier <matthias.maier@iwr.uni-heidelberg.de>
Fri, 17 Apr 2015 09:05:32 +0000 (11:05 +0200)
bundled/boost-1.56.0/include/boost/graph/detail/adjacency_list.hpp
bundled/boost-1.56.0/include/boost/signals2/detail/variadic_slot_invoker.hpp

index f2a9856d526b937c11fe307991b931cdb6b3d5e7..da4ae1997e060c70780cd9a202c5e02c523199c2 100644 (file)
@@ -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; }
index 6d9227efb81c9faea3885ab9d7c35aa6da7f7b05..02cc65aa9316821a460ca7b360161e8b5c11076a 100644 (file)
@@ -94,6 +94,7 @@ namespace boost
         template<typename Func, unsigned ... indices, typename ... Args>
           R m_invoke(void *, Func &func, unsigned_meta_array<indices...>, BOOST_SIGNALS2_TUPLE<Args...> args) const
         {
+          (void)args; // Silence a faulty -Wunused-but-set-parameter diagnostic emitted by gcc up to 4.8*
           func(BOOST_SIGNALS2_GET<indices>(args)...);
           return R();
         }

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.