mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-01-29 10:43:31 +00:00
Fix rpl::variable assignment.
This commit is contained in:
parent
269bb94138
commit
8d701ebb4f
@ -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<
|
||||
|
Loading…
Reference in New Issue
Block a user