view: remove unnecessary enable_if type

This commit is contained in:
Danny Robson 2018-05-10 13:31:51 +10:00
parent 2620e2ed33
commit ad90e10c5d

View File

@ -401,7 +401,7 @@ namespace util {
typename IteratorT, typename IteratorT,
typename SizeT, typename SizeT,
typename = std::enable_if_t< typename = std::enable_if_t<
std::is_integral_v<SizeT>,void std::is_integral_v<SizeT>
> >
> >
view (IteratorT, SizeT) -> view<IteratorT,IteratorT>; view (IteratorT, SizeT) -> view<IteratorT,IteratorT>;