Skip to content

Commit

Permalink
GRAPHICS: Make the ModelNode destructor virtual
Browse files Browse the repository at this point in the history
Necessary, since we delete upcast ModelNode pointers.

Coverity issue 1038193.
  • Loading branch information
DrMcCoy committed Jun 25, 2013
1 parent 239b9ef commit b9ef84f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/graphics/aurora/modelnode.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ struct QuaternionKeyFrame {
class ModelNode {
public:
ModelNode(Model &model);
~ModelNode();
virtual ~ModelNode();

/** Get the node's name. */
const Common::UString &getName() const;
Expand Down

0 comments on commit b9ef84f

Please sign in to comment.