From: Kahrl Date: Wed, 14 Aug 2013 23:16:34 +0000 (+0200) Subject: Add virtual destructor to IBackgroundBlockEmerger to silence warning X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=58beca005ca826f9a1f6728830d621cbdd835bf4;p=zefram%2Fminetest%2Fminetest_engine.git Add virtual destructor to IBackgroundBlockEmerger to silence warning --- diff --git a/src/emerge.h b/src/emerge.h index 458a366f..d2ab6894 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 {