Skip to content

Commit

Permalink
Try to apply workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
miscco committed Jan 29, 2021
1 parent 5d393af commit b3140a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion stl/inc/xmemory
Original file line number Diff line number Diff line change
Expand Up @@ -1182,7 +1182,8 @@ private:
_CONSTEXPR20_CONTAINER void _Orphan_me_unlocked() noexcept {
_Iterator_base12** _Pnext = &_Myproxy->_Myfirstiter;
while (*_Pnext && *_Pnext != this) {
_Pnext = &(*_Pnext)->_Mynextiter;
const auto _Temp = *_Pnext; // TRANSITION: ASO-XXXXX
_Pnext = &_Temp->_Mynextiter;
}

_STL_VERIFY(*_Pnext, "ITERATOR LIST CORRUPTED!");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,6 @@ struct nontrivial_A {
constexpr ~nontrivial_A() {}
};


constexpr void test_compiletime_destroy_variants() {
#ifndef __EDG__ // TRANSITION, VSO-1270011
{
Expand Down

0 comments on commit b3140a4

Please sign in to comment.