From: Kahrl Date: Wed, 14 Aug 2013 23:16:34 +0000 (+0200) Subject: Add virtual destructor to IBackgroundBlockEmerger to silence warning X-Git-Tag: 0.4.8~223 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=58beca005ca826f9a1f6728830d621cbdd835bf4;p=oweals%2Fminetest.git Add virtual destructor to IBackgroundBlockEmerger to silence warning --- 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 {