mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-19 07:37:11 +02:00
Fix rpl::variable assignment.
This commit is contained in:
parent
269bb94138
commit
8d701ebb4f
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue