Skip to content

Commit

Permalink
sarc: Remove unnecessary move
Browse files Browse the repository at this point in the history
  • Loading branch information
leoetlino committed Feb 19, 2020
1 parent d14414a commit c3be9b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sarc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ std::pair<u32, std::vector<u8>> SarcWriter::Write() {
header.version = 0x0100;
writer.Seek(0);
writer.Write(header);
return {required_alignment, std::move(writer.Finalize())};
return {required_alignment, writer.Finalize()};
}

void SarcWriter::SetMinAlignment(size_t alignment) {
Expand Down

0 comments on commit c3be9b2

Please sign in to comment.