applied a SharedPtr fix from Chris Jones

This commit is contained in:
Guenter Obiltschnig 2008-05-08 06:50:08 +00:00
parent c3d621c6fc
commit 6e7fdfa9fb

View File

@ -194,8 +194,8 @@ public:
{
Other* pOther = dynamic_cast<Other*>(_ptr);
if (pOther)
return SharedPtr<Other>(_pCounter, pOther);
return SharedPtr<Other>();
return SharedPtr<Other, RC>(_pCounter, pOther);
return SharedPtr<Other, RC>();
}
template <class Other>