From 72135d9a7f4e0b2b5ca6f25e0de4171783f902cc Mon Sep 17 00:00:00 2001 From: zeromus Date: Wed, 20 Apr 2016 21:05:06 -0500 Subject: [PATCH] SQStream should have a virtual dtor, to shut up warnings and probably for some good reason but i dont know --- include/sqstdio.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/sqstdio.h b/include/sqstdio.h index d19ec2e..fbc7451 100644 --- a/include/sqstdio.h +++ b/include/sqstdio.h @@ -7,6 +7,7 @@ #define SQSTD_STREAM_TYPE_TAG 0x80000000 struct SQStream { + virtual ~SQStream() {} virtual SQInteger Read(void *buffer, SQInteger size) = 0; virtual SQInteger Write(void *buffer, SQInteger size) = 0; virtual SQInteger Flush() = 0;