hle_ipc: Remove const from WriteBuffer size.

This commit is contained in:
bunnei 2018-02-14 14:21:10 -05:00
parent 6fd19f05f1
commit 88bfec37ce
2 changed files with 2 additions and 2 deletions

View file

@ -226,7 +226,7 @@ std::vector<u8> HLERequestContext::ReadBuffer() const {
return buffer;
}
size_t HLERequestContext::WriteBuffer(const void* buffer, const size_t size) const {
size_t HLERequestContext::WriteBuffer(const void* buffer, size_t size) const {
const bool is_buffer_b{BufferDescriptorB().size() && BufferDescriptorB()[0].Size()};
ASSERT_MSG(size <= GetWriteBufferSize(), "Size %d is too big", size);

View file

@ -147,7 +147,7 @@ public:
std::vector<u8> ReadBuffer() const;
/// Helper function to write a buffer using the appropriate buffer descriptor
size_t WriteBuffer(const void* buffer, const size_t size) const;
size_t WriteBuffer(const void* buffer, size_t size) const;
/// Helper function to write a buffer using the appropriate buffer descriptor
size_t WriteBuffer(const std::vector<u8>& buffer) const;