service: Use ReadBufferSpan where it is trivial to do so
This commit is contained in:
parent
fbc375f0de
commit
7ffd624248
31 changed files with 78 additions and 77 deletions
|
@ -346,7 +346,6 @@ std::vector<u8> HLERequestContext::ReadBuffer(std::size_t buffer_index) const {
|
|||
}
|
||||
|
||||
std::span<const u8> HLERequestContext::ReadBufferSpan(std::size_t buffer_index) const {
|
||||
LOG_CRITICAL(Debug, "called");
|
||||
const bool is_buffer_a{BufferDescriptorA().size() > buffer_index &&
|
||||
BufferDescriptorA()[buffer_index].Size()};
|
||||
if (is_buffer_a) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue