fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / external / boost / boost.random.Wunused-local-typedefs.warnings.patch
blob7d4874217e5657dd2e427d042ad7530f1f61afc7
1 --- a/b/boost/boost/random/generate_canonical.hpp 2013-05-31 18:13:09.804149686 +0200
2 +++ a/b/boost/boost/random/generate_canonical.hpp 2013-05-31 18:13:30.020195845 +0200
3 @@ -55,7 +55,6 @@
4 using std::floor;
5 BOOST_ASSERT((g.min)() == 0);
6 BOOST_ASSERT((g.max)() == 1);
7 - typedef typename URNG::result_type base_result;
8 std::size_t digits = std::numeric_limits<RealType>::digits;
9 std::size_t engine_bits = detail::generator_bits<URNG>::value();
10 std::size_t b = (std::min)(bits, digits);
11 --- a/b/boost/boost/random/uniform_real_distribution.hpp 2013-05-31 18:15:04.571429634 +0200
12 +++ a/b/boost/boost/random/uniform_real_distribution.hpp 2013-05-31 18:14:28.452337186 +0200
13 @@ -36,7 +36,6 @@
15 for(;;) {
16 typedef T result_type;
17 - typedef typename Engine::result_type base_result;
18 result_type numerator = static_cast<T>(eng() - (eng.min)());
19 result_type divisor = static_cast<T>((eng.max)() - (eng.min)());
20 BOOST_ASSERT(divisor > 0);