mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Fix rpl::variable assignment.
This commit is contained in:
@@ -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<
|
||||
|
Reference in New Issue
Block a user