Skip to content

Commit

Permalink
Fix Range<T>::Iterator::reference
Browse files Browse the repository at this point in the history
Range<T>::Iterator::reference == Range<T>::Iterator::value_type
  • Loading branch information
nvander1 authored Mar 5, 2018
1 parent 940d067 commit 2914ce2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion range.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ class iter::impl::Range {
using value_type = T;
using difference_type = std::ptrdiff_t;
using pointer = value_type*;
using reference = value_type&;
using reference = value_type;

constexpr Iterator() noexcept = default;

Expand Down

0 comments on commit 2914ce2

Please sign in to comment.