Supply the missing move-assignment operator

Fill in the missing move-assignment operator's signature so this class satisfies the Rule of Five and a std::vector<Buffer> will move, not copy, its elements when it reallocates.

main.cpp
class Buffer {
public:
Buffer(const Buffer& other);
Buffer& operator=(const Buffer& other);
Buffer(Buffer&& other) noexcept;
{
if (this != &other) {
delete[] data_;
data_ = other.data_;
size_ = other.size_;
other.data_ = nullptr;
other.size_ = 0;
}
return *this;
}
~Buffer() { delete[] data_; }
private:
int* data_;
size_t size_;
};
95 of 117 in C++