Add VirtualLightRefBase

Change-Id: I040db87d9e87ba0584e7e5bdd72f0c319a522fa1
This commit is contained in:
John Reck 2014-05-09 15:27:22 -07:00
parent e49e43d4aa
commit d83186c444
1 changed files with 7 additions and 0 deletions

View File

@ -203,6 +203,13 @@ private:
mutable volatile int32_t mCount;
};
// This is a wrapper around LightRefBase that simply enforces a virtual
// destructor to eliminate the template requirement of LightRefBase
class VirtualLightRefBase : public LightRefBase<VirtualLightRefBase> {
public:
virtual ~VirtualLightRefBase() {}
};
// ---------------------------------------------------------------------------
template <typename T>