mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-13 18:45:10 +01:00
applied a SharedPtr fix from Chris Jones
This commit is contained in:
parent
c3d621c6fc
commit
6e7fdfa9fb
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user