This commit is contained in:
Lynix 2018-03-20 21:00:19 +01:00
commit 6ef5afb88d
2 changed files with 2 additions and 1 deletions

View File

@ -73,6 +73,7 @@ Nazara Engine:
- ⚠️ Removed array/pointer constructor from Vector classes
- Fixed Platform module not being classified as client-only
- ⚠️ Renamed Bitset::Read to Bitset::Write
- Fixed ENetCompressor class destructor not being virtual
- ⚠️ Added a type tag parameter to Serialize and Unserialize functions, to prevent implicit conversions with overloads
- Fixed Apply functions with complex return types

View File

@ -29,7 +29,7 @@ namespace Nz
{
public:
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 Decompress(const ENetPeer* peer, const UInt8* input, std::size_t inputSize, UInt8* output, std::size_t maxOutputSize) = 0;