Add missing virtual destructor for VirtualMemoryAllocator
authorNicholas Bishop <nicholasbishop@gmail.com>
Sun, 20 Jan 2013 15:36:32 +0000 (15:36 +0000)
committerNicholas Bishop <nicholasbishop@gmail.com>
Sun, 20 Jan 2013 15:36:32 +0000 (15:36 +0000)
Fixes a warning from GCC 4.7.2.

intern/dualcon/intern/MemoryAllocator.h

index b704542d27b368977a1124934ecc22000e79677d..e673d9498d202f4621843fadca268ce7fd38a591 100644 (file)
@@ -43,6 +43,8 @@
 class VirtualMemoryAllocator
 {
 public:
+virtual ~VirtualMemoryAllocator() {}
+
 virtual void *allocate( ) = 0;
 virtual void deallocate(void *obj) = 0;
 virtual void destroy( ) = 0;