fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / external / boost / boost.ptr_container.Wunused-parameter.warnings.patch
blob280bc70690cfb298f461adf94ab41d75185af581
1 --- misc/boost_1_44_0/boost/ptr_container/detail/reversible_ptr_container.hpp 2011-03-04 11:33:36.269274940 +0000
2 +++ misc/build/boost_1_44_0/boost/ptr_container/detail/reversible_ptr_container.hpp 2011-03-04 11:33:36.269274940 +0000
3 @@ -259,6 +259,10 @@
5 static void enforce_null_policy( const Ty_* x, const char* msg )
7 +#ifdef BOOST_PTR_CONTAINER_NO_EXCEPTIONS
8 + (void)x;
9 + (void)msg;
10 +#endif
11 if( !allow_null )
13 BOOST_PTR_CONTAINER_THROW_EXCEPTION( 0 == x && "null not allowed",
14 --- misc/boost_1_44_0/boost/ptr_container/ptr_sequence_adapter.hpp 2009-11-01 12:07:12.000000000 +0100
15 +++ misc/build/boost_1_44_0/boost/ptr_container/ptr_sequence_adapter.hpp 2011-02-04 16:39:19.000000000 +0100
16 @@ -671,6 +671,7 @@
17 void range_check_impl( iterator first, iterator last,
18 std::random_access_iterator_tag )
20 + (void)first; (void)last;
21 BOOST_ASSERT( first <= last && "out of range unique()/erase_if()" );
22 BOOST_ASSERT( this->begin() <= first && "out of range unique()/erase_if()" );
23 BOOST_ASSERT( last <= this->end() && "out of range unique()/erase_if)(" );