mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-30 21:50:47 +01:00
code cleanup; fix move ctors and assignment
This commit is contained in:
@@ -89,11 +89,10 @@ EVPPKey::EVPPKey(const EVPPKey& other)
|
||||
}
|
||||
|
||||
|
||||
EVPPKey::EVPPKey(EVPPKey&& other) noexcept:
|
||||
EVPPKey::EVPPKey(EVPPKey&& other) noexcept:
|
||||
_pEVPPKey(other._pEVPPKey)
|
||||
{
|
||||
other._pEVPPKey = nullptr;
|
||||
poco_check_ptr(_pEVPPKey);
|
||||
}
|
||||
|
||||
|
||||
@@ -109,7 +108,6 @@ EVPPKey& EVPPKey::operator = (EVPPKey&& other) noexcept
|
||||
{
|
||||
_pEVPPKey = other._pEVPPKey;
|
||||
other._pEVPPKey = nullptr;
|
||||
poco_check_ptr(_pEVPPKey);
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user