diff --git a/lib/mu-store.cc b/lib/mu-store.cc index 817e9b5a..d1323e6a 100644 --- a/lib/mu-store.cc +++ b/lib/mu-store.cc @@ -338,7 +338,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;