mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 13:00:15 +02:00
NetStream: Add operator new/delete because of raw pointer usage.
This commit is contained in:
1 parent
7180bb1496
commit
60fe987e09
1 file changed
+2
-1
+2
-1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user