From 58beca005ca826f9a1f6728830d621cbdd835bf4 Mon Sep 17 00:00:00 2001 From: Kahrl Date: Thu, 15 Aug 2013 01:16:34 +0200 Subject: Add virtual destructor to IBackgroundBlockEmerger to silence warning --- src/emerge.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/emerge.h b/src/emerge.h index 458a366fc..d2ab6894d 100644 --- a/src/emerge.h +++ b/src/emerge.h @@ -75,6 +75,7 @@ class IBackgroundBlockEmerger public: virtual bool enqueueBlockEmerge(u16 peer_id, v3s16 p, bool allow_generate) = 0; + virtual ~IBackgroundBlockEmerger() {} }; class EmergeManager : public IBackgroundBlockEmerger { -- cgit v1.2.3