Skip to content

Commit

Permalink
Remove unused typedefs. Fixes #8854.
Browse files Browse the repository at this point in the history
  • Loading branch information
swatanabe committed Mar 11, 2014
1 parent 51ba4a5 commit 522c172
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion include/boost/random/generate_canonical.hpp
Expand Up @@ -54,7 +54,6 @@ RealType generate_canonical_impl(URNG& g, boost::mpl::false_ /*is_integral*/)
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);
Expand Down
1 change: 0 additions & 1 deletion include/boost/random/uniform_real_distribution.hpp
Expand Up @@ -36,7 +36,6 @@ T generate_uniform_real(
{
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);
Expand Down

0 comments on commit 522c172

Please sign in to comment.