use Rng from pool if possible

This commit is contained in:
orignal 2024-08-31 08:02:56 -04:00
parent 8cf9cc1a01
commit 509c039e2f
3 changed files with 15 additions and 5 deletions

View file

@ -321,6 +321,7 @@ namespace stream
Packet * NewPacket () { return m_PacketsPool.Acquire(); }
void DeletePacket (Packet * p) { return m_PacketsPool.Release(p); }
uint32_t GetRandom ();
private: