File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ class slice : public detail::slice_base
119119 slice::range<RandomAccessIterator> ret;
120120
121121 typedef typename iterator_difference<RandomAccessIterator>::type difference_type;
122- difference_type max_dist = boost::detail ::distance (begin, end);
122+ difference_type max_dist = std ::distance (begin, end);
123123
124124 object slice_start = this ->start ();
125125 object slice_stop = this ->stop ();
@@ -212,7 +212,7 @@ class slice : public detail::slice_base
212212 // (inclusive), and final_dist is the maximum distance covered by the
213213 // slice.
214214 typename iterator_difference<RandomAccessIterator>::type final_dist =
215- boost::detail ::distance ( ret.start , ret.stop );
215+ std ::distance ( ret.start , ret.stop );
216216
217217 // First case, if both ret.start and ret.stop are equal, then step
218218 // is irrelevant and we can return here.
You can’t perform that action at this time.
0 commit comments