diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-04-13 20:42:25 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-04-14 17:42:27 +0200 |
commit | 11230fb8415d7cea2cafb9d86698e26b3e7e625e (patch) | |
tree | dec25bbcdc131aa43e21e0c069c0383565adecdd /external/boost/boost.random.Wunused-local-typedefs.warnings.patch | |
parent | c0def0a41f421f6ade3746e27a3f374e16e0ac55 (diff) |
boost: split boost.wunused-local-typedefs.patch
Change-Id: I3b87643c1853ceaed3d2422a7340a931bb0c5850
Diffstat (limited to 'external/boost/boost.random.Wunused-local-typedefs.warnings.patch')
-rw-r--r-- | external/boost/boost.random.Wunused-local-typedefs.warnings.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/external/boost/boost.random.Wunused-local-typedefs.warnings.patch b/external/boost/boost.random.Wunused-local-typedefs.warnings.patch new file mode 100644 index 000000000000..7d4874217e56 --- /dev/null +++ b/external/boost/boost.random.Wunused-local-typedefs.warnings.patch @@ -0,0 +1,20 @@ +--- a/b/boost/boost/random/generate_canonical.hpp 2013-05-31 18:13:09.804149686 +0200 ++++ a/b/boost/boost/random/generate_canonical.hpp 2013-05-31 18:13:30.020195845 +0200 +@@ -55,7 +55,6 @@ + using std::floor; + BOOST_ASSERT((g.min)() == 0); + BOOST_ASSERT((g.max)() == 1); +- typedef typename URNG::result_type base_result; + std::size_t digits = std::numeric_limits<RealType>::digits; + std::size_t engine_bits = detail::generator_bits<URNG>::value(); + std::size_t b = (std::min)(bits, digits); +--- a/b/boost/boost/random/uniform_real_distribution.hpp 2013-05-31 18:15:04.571429634 +0200 ++++ a/b/boost/boost/random/uniform_real_distribution.hpp 2013-05-31 18:14:28.452337186 +0200 +@@ -36,7 +36,6 @@ + { + for(;;) { + typedef T result_type; +- typedef typename Engine::result_type base_result; + result_type numerator = static_cast<T>(eng() - (eng.min)()); + result_type divisor = static_cast<T>((eng.max)() - (eng.min)()); + BOOST_ASSERT(divisor > 0); |