While looking through the ported MiniGhost app, I began updating the code and fixing errors caused by old API calls that were either removed or changed. I've reached a point however that I don't know how to get past, in MiniGhost global_sum.hpp l39 the code block reads:
if(this != &other) {
mtx_ = std::move(other.mtx_); // breaking change
value_ = std::move(other.value_);
generation_ = other.generation_;
gate_ = std::move(other.gate_);
}
return *this;
To fix MiniGhost, how would I now perform the operation on line 39? Is it possible to do this anymore?