string: prefer type deduction over explicit typenames

This commit is contained in:
Danny Robson 2018-05-08 21:50:43 +10:00
parent 34fc834a29
commit 170f9ceb2c

View File

@ -83,12 +83,12 @@ namespace util {
return std::next (*this, count);
}
const range_type& operator* (void) const
auto const& operator* (void) const&
{
return m_range;
}
const range_type* operator-> (void) const
auto const* operator-> (void) const&
{
return &m_range;
}