Merge branch 'master' into smart_range_improvement
This commit is contained in:
@@ -766,7 +766,7 @@ public:
|
||||
//! Complexity: O(1)
|
||||
inline void erase(iterator _it)
|
||||
{
|
||||
assert(_it != end() && is_in(*_it));
|
||||
assert(_it != const_cast<const ExtStatusSetT*>(this)->end() && is_in(*_it));
|
||||
Base::erase(*_it);
|
||||
*_it = handles_.back();
|
||||
_it.pop_back();
|
||||
|
||||
@@ -315,8 +315,6 @@ class GenericCirculatorT : protected GenericCirculatorBaseT<typename GenericCirc
|
||||
|
||||
/// Standard dereferencing operator.
|
||||
smart_value_type operator*() const {
|
||||
// We can't use this due to a GCC6 compiler bug
|
||||
const GenericCirculatorBaseT<Mesh>* self = this;
|
||||
#ifndef NDEBUG
|
||||
assert(this->heh_.is_valid());
|
||||
value_type res = GenericCirculatorT_TraitsT::toHandle(this->mesh_, this->heh_);
|
||||
@@ -504,8 +502,6 @@ class GenericCirculatorT_DEPRECATED : protected GenericCirculatorBaseT<typename
|
||||
|
||||
/// Standard dereferencing operator.
|
||||
smart_value_type operator*() const {
|
||||
// We can't use this due to a GCC6 compiler bug
|
||||
const GenericCirculatorBaseT<Mesh>* self = this;
|
||||
#ifndef NDEBUG
|
||||
assert(this->heh_.is_valid());
|
||||
value_type res = (GenericCirculatorT_DEPRECATED_TraitsT::toHandle(this->mesh_, this->heh_));
|
||||
|
||||
Reference in New Issue
Block a user