Skip to content

Instantly share code, notes, and snippets.

@etinquis
Created May 19, 2011 23:15
Show Gist options
  • Save etinquis/982009 to your computer and use it in GitHub Desktop.
Save etinquis/982009 to your computer and use it in GitHub Desktop.
diff --git a/Core/Entity.h b/Core/Entity.h
index 5e03178..64d5a48 100644
--- a/Core/Entity.h
+++ b/Core/Entity.h
@@ -54,7 +54,7 @@ namespace Monocle
public:
Entity(const Entity &entity);
Entity();
- ~Entity();
+ virtual ~Entity();
virtual Entity *Clone();
//! Enable this object. Set isEnabled to true. Each derived Entity may decide how to handle isEnabled.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment