diff --git a/thrust/thrust/iterator/counting_iterator.h b/thrust/thrust/iterator/counting_iterator.h index 6c448adaacb..9eb8bf9ee34 100644 --- a/thrust/thrust/iterator/counting_iterator.h +++ b/thrust/thrust/iterator/counting_iterator.h @@ -81,7 +81,7 @@ struct make_counting_iterator_base using traversal = replace_if_use_default>; using difference = - typename replace_if_use_default>>::type; + replace_if_use_default>>; // our implementation departs from Boost's in that counting_iterator::dereference // returns a copy of its counter, rather than a reference to it. returning a reference