hle_ipc: Rename ReadBufferSpan to ReadBuffer

This commit is contained in:
ameerj 2022-12-25 14:31:53 -05:00
parent 571d469697
commit 713394d526
33 changed files with 97 additions and 97 deletions

View file

@ -101,7 +101,7 @@ private:
void ImportServerPki(Kernel::HLERequestContext& ctx) {
IPC::RequestParser rp{ctx};
const auto certificate_format = rp.PopEnum<CertificateFormat>();
[[maybe_unused]] const auto pkcs_12_certificates = ctx.ReadBufferSpan(0);
[[maybe_unused]] const auto pkcs_12_certificates = ctx.ReadBuffer(0);
constexpr u64 server_id = 0;
@ -113,10 +113,10 @@ private:
}
void ImportClientPki(Kernel::HLERequestContext& ctx) {
[[maybe_unused]] const auto pkcs_12_certificate = ctx.ReadBufferSpan(0);
[[maybe_unused]] const auto pkcs_12_certificate = ctx.ReadBuffer(0);
[[maybe_unused]] const auto ascii_password = [&ctx] {
if (ctx.CanReadBuffer(1)) {
return ctx.ReadBufferSpan(1);
return ctx.ReadBuffer(1);
}
return std::span<const u8>{};