diff options
author | Michael Widenius <monty@askmonty.org> | 2013-08-21 18:20:22 +0300 |
---|---|---|
committer | Michael Widenius <monty@askmonty.org> | 2013-08-21 18:20:22 +0300 |
commit | 4712fb14b9672800ed974ce66d00a6b7be37a6b5 (patch) | |
tree | f1a853fafc99ce33deb557ad5e57aa58d94f9d3d /storage/connect/block.h | |
parent | 4f412a576089e79db10734e35604e86042ca8633 (diff) | |
download | mariadb-git-4712fb14b9672800ed974ce66d00a6b7be37a6b5.tar.gz |
Fixed compiler warnings
Diffstat (limited to 'storage/connect/block.h')
-rw-r--r-- | storage/connect/block.h | 3 |
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 |