diff --git a/Telegram/SourceFiles/rpl/variable.h b/Telegram/SourceFiles/rpl/variable.h index 757e5e8e6..96bb79da3 100644 --- a/Telegram/SourceFiles/rpl/variable.h +++ b/Telegram/SourceFiles/rpl/variable.h @@ -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<