mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-27 11:06:50 +01:00
applied a SharedPtr fix from Chris Jones
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user