diff --git a/lib/mu-store.cc b/lib/mu-store.cc index 375e0a6d..cc46f9a0 100644 --- a/lib/mu-store.cc +++ b/lib/mu-store.cc @@ -351,7 +351,11 @@ Store::Store(const std::string& path, { } -Store::Store(Store&&) = default; +Store::Store(Store&& other) +{ + priv_ = std::move(other.priv_); + priv_->indexer_.reset(); +} Store::~Store() = default;