mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-01-11 17:29:46 +00:00
Fixed build in Xcode.
This commit is contained in:
parent
8bc4e3816b
commit
e1478359e6
@ -533,7 +533,8 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
struct Data {
|
struct Data {
|
||||||
Data(const ValueType &from, Callback &&updateCallback)
|
template <typename Lambda, typename = std_::enable_if_t<std_::is_rvalue_reference<Lambda&&>::value>>
|
||||||
|
Data(const ValueType &from, Lambda &&updateCallback)
|
||||||
: value(from, from)
|
: value(from, from)
|
||||||
, a_animation(animation(this, &Data::step))
|
, a_animation(animation(this, &Data::step))
|
||||||
, updateCallback(std_::move(updateCallback)) {
|
, updateCallback(std_::move(updateCallback)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user