Update minisketch subtree to latest master

This commit is contained in:
fanquake
2024-06-12 14:38:39 +01:00
7 changed files with 15 additions and 11 deletions

View File

@@ -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;