mirror of
https://github.com/microsoft/GSL.git
synced 2025-05-13 09:25:19 -04:00
addressing travis errors
This commit is contained in:
@ -163,7 +163,7 @@ namespace details
|
||||
|
||||
constexpr span_iterator operator++(int) noexcept
|
||||
{
|
||||
span_iterator ret = {*this};
|
||||
auto ret{*this};
|
||||
++*this;
|
||||
return ret;
|
||||
}
|
||||
@ -178,7 +178,7 @@ namespace details
|
||||
|
||||
constexpr span_iterator operator--(int) noexcept
|
||||
{
|
||||
span_iterator ret = {*this};
|
||||
auto ret{*this};
|
||||
--*this;
|
||||
return ret;
|
||||
}
|
||||
@ -194,7 +194,7 @@ namespace details
|
||||
|
||||
constexpr span_iterator operator+(const difference_type n) const noexcept
|
||||
{
|
||||
span_iterator ret = {*this};
|
||||
auto ret{*this};
|
||||
return ret += n;
|
||||
}
|
||||
|
||||
@ -215,7 +215,7 @@ namespace details
|
||||
|
||||
constexpr span_iterator operator-(const difference_type n) const noexcept
|
||||
{
|
||||
span_iterator ret = {*this};
|
||||
auto ret{*this};
|
||||
return ret -= n;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user