Skip to content

Commit

Permalink
Fix build with clang 19.1.0.
Browse files Browse the repository at this point in the history
Fixes #28283.
  • Loading branch information
VladislavGrudinin authored and john-preston committed Sep 27, 2024
1 parent 187c2dd commit cb166e2
Showing 1 changed file with 3 additions and 3 deletions.
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

0 comments on commit cb166e2

Please sign in to comment.