hle_ipc: Make GetDomainMessageHeader return a regular pointer

Nothing requires the shared owner ship here, so we can just return a
plain pointer.
This commit is contained in:
Lioncash
2018-10-29 23:18:21 -04:00
parent b5f8a5f0a3
commit 0cc347462d
2 changed files with 3 additions and 3 deletions

View File

@ -161,8 +161,8 @@ public:
return buffer_c_desciptors;
}
const std::shared_ptr<IPC::DomainMessageHeader>& GetDomainMessageHeader() const {
return domain_message_header;
const IPC::DomainMessageHeader* GetDomainMessageHeader() const {
return domain_message_header.get();
}
/// Helper function to read a buffer using the appropriate buffer descriptor