gsl::index bug fix (#624)
Fixing a bug in the != operator in the gsl::index class
This commit is contained in:
1 parent
c87c123d1b
commit
13ce102ec0
1 file changed
+1
-1
@@ -135,7 +135,7 @@ public:
|
||||
return std::equal(elems, elems + rank, rhs.elems);
|
||||
}
|
||||
|
||||
constexpr bool operator!=(const index& rhs) const GSL_NOEXCEPT { return !(this == rhs); }
|
||||
constexpr bool operator!=(const index& rhs) const GSL_NOEXCEPT { return !(*this == rhs); }
|
||||
|
||||
constexpr index operator+() const GSL_NOEXCEPT { return *this; }
|
||||
|
||||
|
||||
Reference in new issue
Block a user