summaryrefslogtreecommitdiff
path: root/external/boost/boost.random.Wunused-local-typedefs.warnings.patch
blob: 73f8c0b84d8ca4920f38621ac29ccc89bae9905e (plain)
1
2
3
4
5
6
7
8
9
10
11
diff -ru boost.orig/boost/random/generate_canonical.hpp boost/boost/random/generate_canonical.hpp
--- a/b/boost.orig/boost/random/generate_canonical.hpp	2015-02-27 18:44:45.000000000 +0100
+++ a/b/boost/boost/random/generate_canonical.hpp	2015-07-18 21:55:44.152972440 +0200
@@ -32,7 +32,6 @@
 RealType generate_canonical_impl(URNG& g, boost::mpl::true_ /*is_integral*/)
 {
     using std::pow;
-    typedef typename URNG::result_type base_result;
     std::size_t digits = std::numeric_limits<RealType>::digits;
     RealType R = RealType((g.max)()) - RealType((g.min)()) + 1;
     RealType mult = R;