Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Telegram/SourceFiles/lang/lang_values.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ struct ReplaceUnwrap<Tag, Tags...> {
Type accumulated,
const Value &value,
const Values &...values) {
return ReplaceUnwrap<Tags...>::template Call(
return ReplaceUnwrap<Tags...>::Call(
ReplaceTag<Type>::Call(
std::move(accumulated),
TagValue<Tag>(),
Expand All @@ -92,7 +92,7 @@ struct Producer {

template <typename P, typename ...Values>
[[nodiscard]] static S<P> Current(ushort base, P p, const Values &...values) {
return ReplaceUnwrap<Tags...>::template Call(
return ReplaceUnwrap<Tags...>::Call(
p(Lang::details::Current(base)),
values...);
}
Expand Down Expand Up @@ -161,7 +161,7 @@ struct Producer<lngtag_count, Tags...> {
float64 count,
const Values &...values) {
auto plural = Plural(base, count, type);
return ReplaceUnwrap<Tags...>::template Call(
return ReplaceUnwrap<Tags...>::Call(
ReplaceTag<S<P>>::Call(
p(Lang::details::Current(base + plural.keyShift)),
TagValue<lngtag_count>(),
Expand Down
2 changes: 1 addition & 1 deletion Telegram/codegen