mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add virtual destructor to IBackgroundBlockEmerger to silence warning
This commit is contained in:
parent
4e1f50035e
commit
58beca005c
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue