Skip to content

Commit

Permalink
cid#427984 COPY_INSTEAD_OF_MOVE
Browse files Browse the repository at this point in the history
Signed-off-by: Caolán McNamara <[email protected]>
Change-Id: I449ef03c0cc0e03a2659ec4556ea586d95ac4ed4
  • Loading branch information
caolanm authored and vmiklos committed Dec 10, 2024
1 parent be6b113 commit 845d932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wsd/wopi/WopiStorage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ StorageBase::LockUpdateResult WopiStorage::updateLockState(const Authorization&
failureReason = std::string("Internal error: ") + exc.what();
}

return LockUpdateResult(LockUpdateResult::Status::FAILED, lock, failureReason);
return LockUpdateResult(LockUpdateResult::Status::FAILED, lock, std::move(failureReason));
}

void WopiStorage::updateLockStateAsync(const Authorization& auth, LockContext& lockCtx,
Expand Down

0 comments on commit 845d932

Please sign in to comment.