mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-06-15 22:57:12 +02:00
Refactor ZMQ to be simpler.
Fixed a meory leak.
This commit is contained in:
@ -144,6 +144,14 @@ public:
|
||||
return m_Buffer;
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* Retrieve a reference to the managed memory buffer.
|
||||
*/
|
||||
SQMOD_NODISCARD Buffer & GetInst() const
|
||||
{
|
||||
return *m_Buffer;
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* Validate the managed memory buffer reference.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user