Merge pull request #5235 from lioncash/move

ipc_helpers: Make PushStaticBuffer take std::vector by value
This commit is contained in:
Sebastian Valle 2020-04-19 21:51:52 -05:00 committed by GitHub
commit 3597921ec5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 55 additions and 53 deletions

View file

@ -1307,7 +1307,7 @@ void Module::Interface::GetDependencyListFromCia(Kernel::HLERequestContext& ctx)
IPC::RequestBuilder rb = rp.MakeBuilder(1, 2);
rb.Push(RESULT_SUCCESS);
rb.PushStaticBuffer(buffer, 0);
rb.PushStaticBuffer(std::move(buffer), 0);
}
void Module::Interface::GetTransferSizeFromCia(Kernel::HLERequestContext& ctx) {