Add virtual destructor to IBackgroundBlockEmerger to silence warning
authorKahrl <kahrl@gmx.net>
Wed, 14 Aug 2013 23:16:34 +0000 (01:16 +0200)
committerKahrl <kahrl@gmx.net>
Wed, 14 Aug 2013 23:16:34 +0000 (01:16 +0200)
src/emerge.h

index 458a366fc803a87515ac850293445be70f1d905a..d2ab6894dfe5edf9a7eafb90d7213eed3996a4db 100644 (file)
@@ -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 {