From 20b67ee0007e73d8a6e0619197251413b3c233f3 Mon Sep 17 00:00:00 2001 From: John Preston Date: Wed, 6 Jun 2018 13:59:53 +0300 Subject: [PATCH] Fix build for GCC. --- Telegram/SourceFiles/base/optional.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Telegram/SourceFiles/base/optional.h b/Telegram/SourceFiles/base/optional.h index 4c8f418411..2240a8485f 100644 --- a/Telegram/SourceFiles/base/optional.h +++ b/Telegram/SourceFiles/base/optional.h @@ -89,11 +89,11 @@ public: template T &set(Args &&...args) { - _impl.set(std::forward(args)...); + _impl.template set(std::forward(args)...); return get_unchecked(); } void clear() { - _impl.set(); + _impl.template set(); } template