[ripple/rippled] Mark move constructors and move assignment operators as noexcept (#2551)

HowardHinnant commented on this pull request.

> @@ -49,7 +49,7 @@ STVar::STVar (STVar const& other)
p_ = other.p_->copy(max_size, &d_);
}

-STVar::STVar (STVar&& other)
+STVar::STVar (STVar&& other) noexcept
{
if (other.on_heap())

`other.on_heap()` is not noexcept.
`p_ = other.p_->move(max_size, &d_)` is not noexcept.

Добавить комментарий