From e1478359e6b94acfa5274f8fcdfa55d65f3b9ed8 Mon Sep 17 00:00:00 2001 From: John Preston Date: Sat, 22 Oct 2016 20:05:19 +0300 Subject: [PATCH] Fixed build in Xcode. --- Telegram/SourceFiles/ui/animation.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/ui/animation.h b/Telegram/SourceFiles/ui/animation.h index 97d4f58a6..8e8657815 100644 --- a/Telegram/SourceFiles/ui/animation.h +++ b/Telegram/SourceFiles/ui/animation.h @@ -533,7 +533,8 @@ public: private: struct Data { - Data(const ValueType &from, Callback &&updateCallback) + template ::value>> + Data(const ValueType &from, Lambda &&updateCallback) : value(from, from) , a_animation(animation(this, &Data::step)) , updateCallback(std_::move(updateCallback)) {