Fix rpl::variable assignment.

This commit is contained in:
John Preston 2018-06-22 17:44:45 +01:00
parent 269bb94138
commit 8d701ebb4f

View File

@ -67,6 +67,10 @@ public:
variable() : _data{} {
}
variable &operator=(variable &&other) {
return (*this = std::move(other._data));
}
template <
typename OtherType,
typename = std::enable_if_t<