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