summaryrefslogtreecommitdiff
path: root/boost
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-05-24 16:34:04 +0300
committerTor Lillqvist <tml@iki.fi>2013-05-24 16:34:04 +0300
commitf2b31d29581890b9913c5e85a6833d9906bc7aa4 (patch)
tree386a04152e36a3795ffe7812ca17138d81b512c7 /boost
parent6874228b090b9d910651ddf6ec82b16ac9ecb6de (diff)
WaE: unused parameter ´other´
Change-Id: I13dc9ac0fcbf515df3f44ab18e0fee9cfb8ef239
Diffstat (limited to 'boost')
-rw-r--r--boost/UnpackedTarball_boost.mk1
-rw-r--r--boost/boost.wunused.patch11
2 files changed, 12 insertions, 0 deletions
diff --git a/boost/UnpackedTarball_boost.mk b/boost/UnpackedTarball_boost.mk
index bcec8b99bd9e..99fb92a19082 100644
--- a/boost/UnpackedTarball_boost.mk
+++ b/boost/UnpackedTarball_boost.mk
@@ -41,6 +41,7 @@ boost_patches += boost.endian.patch
boost_patches += boost.loplugin.patch
boost_patches += boost.std.move.patch
boost_patches += boost.wundef.patch
+boost_patches += boost.wunused.patch
boost_patches += boost.wshadow.patch
$(eval $(call gb_UnpackedTarball_UnpackedTarball,boost))
diff --git a/boost/boost.wunused.patch b/boost/boost.wunused.patch
new file mode 100644
index 000000000000..89abb5372ec4
--- /dev/null
+++ b/boost/boost.wunused.patch
@@ -0,0 +1,11 @@
+--- foo/foo/foo/boost/unordered/detail/table.hpp
++++ foo/foo/foo/boost/unordered/detail/table.hpp
+@@ -458,6 +458,7 @@
+ // According to 23.2.1.8, if propagate_on_container_swap is
+ // false the behaviour is undefined unless the allocators
+ // are equal.
++ (void) other;
+ BOOST_ASSERT(node_alloc() == other.node_alloc());
+ }
+
+