mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-02 09:15:04 +02:00
Update minisketch subtree to latest master
This commit is contained in:
@@ -239,7 +239,7 @@ public:
|
||||
/** Make this Minisketch a clone of the specified one. */
|
||||
Minisketch& operator=(const Minisketch& sketch) noexcept
|
||||
{
|
||||
if (sketch.m_minisketch) {
|
||||
if (this != &sketch && sketch.m_minisketch) {
|
||||
m_minisketch = std::unique_ptr<minisketch, Deleter>(minisketch_clone(sketch.m_minisketch.get()));
|
||||
}
|
||||
return *this;
|
||||
|
||||
Reference in New Issue
Block a user