Browse Source

SceneGraph: clarify why there _is_ virtual destructor.

pull/278/head
Vladimír Vondruš 13 years ago
parent
commit
1fea7c3aa2
  1. 2
      src/SceneGraph/AbstractObject.h

2
src/SceneGraph/AbstractObject.h

@ -73,6 +73,8 @@ template<UnsignedInt dimensions, class T> class MAGNUM_SCENEGRAPH_EXPORT Abstrac
/** @brief Feature object type */
typedef AbstractFeature<dimensions, T> FeatureType;
/* This isn't protected because having virtual destructor here is
better than having it duplicated in all Object specializations */
explicit AbstractObject();
virtual ~AbstractObject();

Loading…
Cancel
Save