summaryrefslogtreecommitdiff
path: root/storage/connect/block.h
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2013-08-21 18:20:22 +0300
committerMichael Widenius <monty@askmonty.org>2013-08-21 18:20:22 +0300
commit4712fb14b9672800ed974ce66d00a6b7be37a6b5 (patch)
treef1a853fafc99ce33deb557ad5e57aa58d94f9d3d /storage/connect/block.h
parent4f412a576089e79db10734e35604e86042ca8633 (diff)
downloadmariadb-git-4712fb14b9672800ed974ce66d00a6b7be37a6b5.tar.gz
Fixed compiler warnings
Diffstat (limited to 'storage/connect/block.h')
-rw-r--r--storage/connect/block.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/storage/connect/block.h b/storage/connect/block.h
index 963cfa42f32..20db70351e4 100644
--- a/storage/connect/block.h
+++ b/storage/connect/block.h
@@ -51,7 +51,10 @@ if (debug != NULL)
#if !defined(__BORLANDC__)
// Avoid warning C4291 by defining a matching dummy delete operator
void operator delete(void *, PGLOBAL, void *) {}
+ void operator delete(void *ptr,size_t size) {}
#endif
+ virtual ~BLOCK() {}
+
}; // end of class BLOCK
#endif // !BLOCK_DEFINED