Changeset 4167afa for src


Ignore:
Timestamp:
Dec 16, 2024, 5:01:23 PM (41 hours ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
80018f5
Parents:
15cb790
Message:

remove superflous calls to std::move

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Validate/ReplaceTypedef.cpp

    r15cb790 r4167afa  
    1010// Created On       : Tue Jun 29 14:59:00 2022
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Thu Dec 14 16:11:51 2023
    13 // Update Count     : 4
     12// Last Modified On : Mon Dec 16 20:50:42 2024
     13// Update Count     : 5
    1414//
    1515
     
    135135};
    136136static bool dimensionPresenceMismatched( const ast::Type * t0, const ast::Type * t1) {
    137         std::vector<const ast::ArrayType *> at0s = std::move(
    138                 ast::Pass<ArrayTypeExtractor>::read( t0 ) );
    139         std::vector<const ast::ArrayType *> at1s = std::move(
    140                 ast::Pass<ArrayTypeExtractor>::read( t1 ) );
     137        std::vector<const ast::ArrayType *> at0s = ast::Pass<ArrayTypeExtractor>::read( t0 );
     138        std::vector<const ast::ArrayType *> at1s = ast::Pass<ArrayTypeExtractor>::read( t1 );
    141139        assert( at0s.size() == at1s.size() );
    142140        for (size_t i = 0; i < at0s.size(); i++) {
Note: See TracChangeset for help on using the changeset viewer.