Add virtual destructor to IBackgroundBlockEmerger to silence warning
parent
4e1f50035e
commit
58beca005c
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue