mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-09 19:17:38 +01:00
SharePtr fix for gcc 7.2 (#2004)
This commit is contained in:
parent
e1018881ba
commit
5c1e3b5ab8
@ -100,7 +100,7 @@ public:
|
||||
template <class Other>
|
||||
SharedPtr& assign(const SharedPtr<Other>& ptr)
|
||||
{
|
||||
if (ptr.get() != _ptr)
|
||||
if (ptr.get() != _ptr.get())
|
||||
{
|
||||
SharedPtr tmp(ptr);
|
||||
swap(tmp);
|
||||
|
Loading…
Reference in New Issue
Block a user