aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKahrl <kahrl@gmx.net>2013-08-15 01:16:34 +0200
committerKahrl <kahrl@gmx.net>2013-08-15 01:16:34 +0200
commit58beca005ca826f9a1f6728830d621cbdd835bf4 (patch)
tree0c4b92999ab8fd3141eac14bf77ef7ed1ba5fcf6 /src
parent4e1f50035e860a00636ca5d804c267119df99601 (diff)
downloadminetest-58beca005ca826f9a1f6728830d621cbdd835bf4.tar.gz
minetest-58beca005ca826f9a1f6728830d621cbdd835bf4.tar.bz2
minetest-58beca005ca826f9a1f6728830d621cbdd835bf4.zip
Add virtual destructor to IBackgroundBlockEmerger to silence warning
Diffstat (limited to 'src')
-rw-r--r--src/emerge.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emerge.h b/src/emerge.h
index 458a366fc..d2ab6894d 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 {