Network/ENet: Fix ENetCompressor destructor not being virtual
This commit is contained in:
parent
3165dbe095
commit
457a87d067
|
|
@ -72,6 +72,7 @@ Nazara Engine:
|
||||||
- ⚠️ Removed array/pointer constructor from Vector classes
|
- ⚠️ Removed array/pointer constructor from Vector classes
|
||||||
- Fixed Platform module not being classified as client-only
|
- Fixed Platform module not being classified as client-only
|
||||||
- ⚠️ Renamed Bitset::Read to Bitset::Write
|
- ⚠️ Renamed Bitset::Read to Bitset::Write
|
||||||
|
- Fixed ENetCompressor class destructor not being virtual
|
||||||
|
|
||||||
Nazara Development Kit:
|
Nazara Development Kit:
|
||||||
- Added ImageWidget (#139)
|
- Added ImageWidget (#139)
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@ namespace Nz
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ENetCompressor() = default;
|
ENetCompressor() = default;
|
||||||
~ENetCompressor();
|
virtual ~ENetCompressor();
|
||||||
|
|
||||||
virtual std::size_t Compress(const ENetPeer* peer, const NetBuffer* buffers, std::size_t bufferCount, std::size_t totalInputSize, UInt8* output, std::size_t maxOutputSize) = 0;
|
virtual std::size_t Compress(const ENetPeer* peer, const NetBuffer* buffers, std::size_t bufferCount, std::size_t totalInputSize, UInt8* output, std::size_t maxOutputSize) = 0;
|
||||||
virtual std::size_t Decompress(const ENetPeer* peer, const UInt8* input, std::size_t inputSize, UInt8* output, std::size_t maxOutputSize) = 0;
|
virtual std::size_t Decompress(const ENetPeer* peer, const UInt8* input, std::size_t inputSize, UInt8* output, std::size_t maxOutputSize) = 0;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue