Explorar o código

* BugFix: Fix a Windows ASAN reported allocation mismatch error.

Robert MacGregor %!s(int64=4) %!d(string=hai) anos
pai
achega
cc45f9e9a4
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.