NetStream: Add operator new/delete because of raw pointer usage.

This commit is contained in:
Ryan Houdek committed 2023-04-07 17:01:51 -07:00
1 parent 7180bb1496
commit 60fe987e09
1 file changed
+2 -1
+2 -1
View File
@@ -1,3 +1,4 @@
#include <FEXCore/Utils/Allocator.h>
#include <FEXCore/Utils/NetStream.h>
#include <array>
@@ -8,7 +9,7 @@
namespace FEXCore::Utils {
namespace {
class NetBuf final : public std::streambuf {
class NetBuf final : public std::streambuf, public FEXCore::Allocator::FEXAllocOperators {
public:
explicit NetBuf(int socketfd) : socket{socketfd} {
reset_output_buffer();