Explorar o código

Merge pull request #703 from Ragora/bugfix-allocation-size-mismatch

BugFix: Fix a Windows ASAN reported allocation/deallocation mismatch error.
Brian Roberts %!s(int64=3) %!d(string=hai) anos
pai
achega
1f4c488640
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      Engine/source/sim/netConnection.h

+ 1 - 0
Engine/source/sim/netConnection.h

@@ -692,6 +692,7 @@ public:
 
       PacketNotify *nextPacket;  ///< Next packet sent.
       PacketNotify();
+      virtual ~PacketNotify() = default;
    };
    virtual PacketNotify *allocNotify();
    PacketNotify *mNotifyQueueHead;  ///< Head of packet notify list.