فهرست منبع

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

BugFix: Fix a Windows ASAN reported allocation/deallocation mismatch error.
Brian Roberts 3 سال پیش
والد
کامیت
1f4c488640
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  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.