Fix build with clang 19.1.0.

Fixes #28283.
This commit is contained in:
Vladislav Grudinin 2024-09-23 09:58:41 +09:00 committed by John Preston
parent 187c2dda20
commit cb166e2591

View file

@ -69,7 +69,7 @@ struct ReplaceUnwrap<Tag, Tags...> {
Type accumulated, Type accumulated,
const Value &value, const Value &value,
const Values &...values) { const Values &...values) {
return ReplaceUnwrap<Tags...>::template Call( return ReplaceUnwrap<Tags...>::Call(
ReplaceTag<Type>::Call( ReplaceTag<Type>::Call(
std::move(accumulated), std::move(accumulated),
TagValue<Tag>(), TagValue<Tag>(),
@ -92,7 +92,7 @@ struct Producer {
template <typename P, typename ...Values> template <typename P, typename ...Values>
[[nodiscard]] static S<P> Current(ushort base, P p, const Values &...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)), p(Lang::details::Current(base)),
values...); values...);
} }
@ -161,7 +161,7 @@ struct Producer<lngtag_count, Tags...> {
float64 count, float64 count,
const Values &...values) { const Values &...values) {
auto plural = Plural(base, count, type); auto plural = Plural(base, count, type);
return ReplaceUnwrap<Tags...>::template Call( return ReplaceUnwrap<Tags...>::Call(
ReplaceTag<S<P>>::Call( ReplaceTag<S<P>>::Call(
p(Lang::details::Current(base + plural.keyShift)), p(Lang::details::Current(base + plural.keyShift)),
TagValue<lngtag_count>(), TagValue<lngtag_count>(),