From 8edf4c871194e32ca14d7332c15a0cb370ecb4f4 Mon Sep 17 00:00:00 2001 From: John Preston Date: Thu, 31 May 2018 23:42:48 +0300 Subject: [PATCH] Alpha version 1.2.25: Fix build for Xcode. --- Telegram/SourceFiles/ui/widgets/input_fields.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Telegram/SourceFiles/ui/widgets/input_fields.cpp b/Telegram/SourceFiles/ui/widgets/input_fields.cpp index f669ab9f58..dc590c4db6 100644 --- a/Telegram/SourceFiles/ui/widgets/input_fields.cpp +++ b/Telegram/SourceFiles/ui/widgets/input_fields.cpp @@ -190,7 +190,7 @@ public: _checked[edgeIndex] = true; return; } else { - _checked = { false, false }; + _checked = { { false, false } }; } } while (true) { @@ -207,9 +207,9 @@ public: } } if (_position == kInvalidPosition) { - _checked = { true, true }; + _checked = { { true, true } }; } else { - _checked = { false, false }; + _checked = { { false, false } }; _checked[edgeIndex] = true; } } @@ -217,7 +217,7 @@ public: private: int _offset = 0; int _position = -1; - std::array _checked = { false, false }; + std::array _checked = { { false, false } }; };