From 366413a0a6daa022cd33df5607c5636df372e96c Mon Sep 17 00:00:00 2001 From: John Preston Date: Mon, 17 Jun 2019 19:26:21 +0200 Subject: [PATCH] Fix build in Xcode. --- Telegram/SourceFiles/lang/lang_values.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/lang/lang_values.h b/Telegram/SourceFiles/lang/lang_values.h index aa1c28419..6d393543a 100644 --- a/Telegram/SourceFiles/lang/lang_values.h +++ b/Telegram/SourceFiles/lang/lang_values.h @@ -169,7 +169,7 @@ struct Producer { auto plural = Plural(base, count, type); return ReplaceUnwrap::template Call( ReplaceTag::Call( - p(Lang::Current(base + plural.keyShift)), + p(Lang::Current(LangKey(base + plural.keyShift))), type, StartReplacements::Call( std::move(plural.replacement))),