Add missing template keywords
GCC 14 warns about these. Reviewed By: ABataev Differential Revision: https://reviews.llvm.org/D121047
This commit is contained in:
parent
e22a60b1c8
commit
8e066b86a7
|
@ -272,11 +272,12 @@ struct DenseMapInfo<PointerSumType<TagT, MemberTs...>> {
|
|||
using SomePointerInfo = DenseMapInfo<SomePointerT>;
|
||||
|
||||
static inline SumType getEmptyKey() {
|
||||
return SumType::create<SomeTag>(SomePointerInfo::getEmptyKey());
|
||||
return SumType::template create<SomeTag>(SomePointerInfo::getEmptyKey());
|
||||
}
|
||||
|
||||
static inline SumType getTombstoneKey() {
|
||||
return SumType::create<SomeTag>(SomePointerInfo::getTombstoneKey());
|
||||
return SumType::template create<SomeTag>(
|
||||
SomePointerInfo::getTombstoneKey());
|
||||
}
|
||||
|
||||
static unsigned getHashValue(const SumType &Arg) {
|
||||
|
|
Loading…
Reference in a new issue