Skip to content

Commit

Permalink
Optimize BitArchiveReader::items()
Browse files Browse the repository at this point in the history
  • Loading branch information
rikyoz committed Jul 14, 2024
1 parent 6b35220 commit 1adc58b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bitarchivereader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ auto BitArchiveReader::items() const -> std::vector< BitArchiveItemInfo > {
item.setProperty( property, propertyValue );
}
}
result.push_back( std::move( item ) );
result.emplace_back( std::move( item ) );
}
return result;
}
Expand Down

0 comments on commit 1adc58b

Please sign in to comment.