string: prefer type deduction over explicit typenames
This commit is contained in:
parent
34fc834a29
commit
170f9ceb2c
@ -83,12 +83,12 @@ namespace util {
|
|||||||
return std::next (*this, count);
|
return std::next (*this, count);
|
||||||
}
|
}
|
||||||
|
|
||||||
const range_type& operator* (void) const
|
auto const& operator* (void) const&
|
||||||
{
|
{
|
||||||
return m_range;
|
return m_range;
|
||||||
}
|
}
|
||||||
|
|
||||||
const range_type* operator-> (void) const
|
auto const* operator-> (void) const&
|
||||||
{
|
{
|
||||||
return &m_range;
|
return &m_range;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user