Changeset 0bd46fd for src/ControlStruct/MultiLevelExit.cpp
- Timestamp:
- Sep 21, 2022, 10:52:51 AM (20 months ago)
- Branches:
- ADT, ast-experimental, master, pthread-emulation
- Children:
- 7f6a7c9, e01eb4a
- Parents:
- 20737104
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ControlStruct/MultiLevelExit.cpp
r20737104 r0bd46fd 356 356 vec.emplace_back( nullptr ); 357 357 for ( size_t i = vec.size() - 1 ; 0 < i ; --i ) { 358 vec[ i ] = move( vec[ i - 1 ] );358 vec[ i ] = std::move( vec[ i - 1 ] ); 359 359 } 360 360 vec[ 0 ] = element; … … 511 511 512 512 void MultiLevelExitCore::previsit( const FinallyClause * ) { 513 GuardAction([this, old = move( enclosing_control_structures)](){ enclosing_control_structures =move(old); });513 GuardAction([this, old = std::move( enclosing_control_structures)](){ enclosing_control_structures = std::move(old); }); 514 514 enclosing_control_structures = vector<Entry>(); 515 515 GuardValue( inFinally ) = true;
Note: See TracChangeset
for help on using the changeset viewer.