Skip to content

Commit

Permalink
Add virtual destructor to IBackgroundBlockEmerger to silence warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kahrl committed Aug 14, 2013
1 parent 4e1f500 commit 58beca0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/emerge.h
Expand Up @@ -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 {
Expand Down

0 comments on commit 58beca0

Please sign in to comment.