Skip to content

Instantly share code, notes, and snippets.

@kahrl
Created August 14, 2013 22:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kahrl/6236578 to your computer and use it in GitHub Desktop.
Save kahrl/6236578 to your computer and use it in GitHub Desktop.
diff --git a/src/emerge.h b/src/emerge.h
index 458a366..d2ab689 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 {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment