Fixed build in Xcode.

This commit is contained in:
John Preston 2016-10-22 20:05:19 +03:00
parent 8bc4e3816b
commit e1478359e6
1 changed files with 2 additions and 1 deletions

View File

@ -533,7 +533,8 @@ public:
private:
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)
, a_animation(animation(this, &Data::step))
, updateCallback(std_::move(updateCallback)) {