Add virtual destructor to IBackgroundBlockEmerger to silence warning

master
Kahrl 2013-08-15 01:16:34 +02:00
parent 4e1f50035e
commit 58beca005c
1 changed files with 1 additions and 0 deletions

View File

@ -75,6 +75,7 @@ class IBackgroundBlockEmerger
public: public:
virtual bool enqueueBlockEmerge(u16 peer_id, v3s16 p, virtual bool enqueueBlockEmerge(u16 peer_id, v3s16 p,
bool allow_generate) = 0; bool allow_generate) = 0;
virtual ~IBackgroundBlockEmerger() {}
}; };
class EmergeManager : public IBackgroundBlockEmerger { class EmergeManager : public IBackgroundBlockEmerger {