fix warning: remove unused typedef

This commit is contained in:
bolero-MURAKAMI 2013-11-05 23:53:24 +09:00
parent 3c4a465d35
commit 95bb3a877d

View file

@ -271,12 +271,10 @@ namespace sprout {
}
template<typename Engine>
SPROUT_CXX14_CONSTEXPR result_type operator()(Engine& eng, param_type const& parm) const {
typedef typename Engine::result_type base_result;
return uniform_smallint(parm)(eng);
}
template<typename Engine>
SPROUT_CONSTEXPR sprout::random::random_result<Engine, uniform_smallint> const operator()(Engine const& eng, param_type const& parm) const {
typedef typename Engine::result_type base_result;
return uniform_smallint(parm)(eng);
}
template<typename Elem, typename Traits>