summaryrefslogtreecommitdiff
path: root/external/boost/boost.signals2.unused.parameters.patch
blob: 342f8300a2042b6631e481fa7b89337223500d5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/b/boost/boost/signals2/detail/auto_buffer.hpp.sav	2011-12-21 04:05:37.000000000 +0100
+++ a/b/boost/boost/signals2/detail/auto_buffer.hpp	2014-09-13 23:58:51.221215911 +0200
@@ -99,7 +99,7 @@ namespace detail
         }
 
         template< class SizeType >
-        static bool should_shrink( SizeType size, SizeType capacity )
+        static bool should_shrink( __attribute__ ((unused)) SizeType size, __attribute__ ((unused)) SizeType capacity )
         {
             //
             // @remark: when defining a new grow policy, one might
@@ -258,7 +258,7 @@ namespace detail
                 auto_buffer_destroy( buffer );
         }
 
-        void destroy_back_n( size_type n, const boost::true_type& )
+        void destroy_back_n( __attribute__ ((unused)) size_type n, const boost::true_type& )
         { }
 
         void destroy_back_n( size_type n )