diff options
author | madmaxoft <github@xoft.cz> | 2013-12-28 21:59:50 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-12-28 22:00:01 +0100 |
commit | 725b997a2817bd999079e5e6678f5497373cbbac (patch) | |
tree | 84f6a376651e4ab7ea5dc1d068066aca34c75fa5 /src | |
parent | Fixed the Windows script for uploading Lua API to an FTP server. (diff) | |
download | cuberite-725b997a2817bd999079e5e6678f5497373cbbac.tar cuberite-725b997a2817bd999079e5e6678f5497373cbbac.tar.gz cuberite-725b997a2817bd999079e5e6678f5497373cbbac.tar.bz2 cuberite-725b997a2817bd999079e5e6678f5497373cbbac.tar.lz cuberite-725b997a2817bd999079e5e6678f5497373cbbac.tar.xz cuberite-725b997a2817bd999079e5e6678f5497373cbbac.tar.zst cuberite-725b997a2817bd999079e5e6678f5497373cbbac.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/OSSupport/SocketThreads.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/OSSupport/SocketThreads.h b/src/OSSupport/SocketThreads.h index ecbac3aeb..858729c49 100644 --- a/src/OSSupport/SocketThreads.h +++ b/src/OSSupport/SocketThreads.h @@ -61,6 +61,9 @@ public: class cCallback { public: + // Force a virtual destructor in all subclasses: + virtual ~cCallback() {} + /// Called when data is received from the remote party virtual void DataReceived(const char * a_Data, int a_Size) = 0; |