[llvm] [ADT] Fix missing 'template' keyword (PR #98252)
Krystian Stasiowski via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 9 18:12:15 PDT 2024
================
@@ -460,8 +460,8 @@ namespace llvm {
OwningArrayRef &operator=(OwningArrayRef &&Other) {
delete[] this->data();
- this->MutableArrayRef<T>::operator=(Other);
- Other.MutableArrayRef<T>::operator=(MutableArrayRef<T>());
+ this->template MutableArrayRef<T>::operator=(Other);
+ Other.template MutableArrayRef<T>::operator=(MutableArrayRef<T>());
----------------
sdkrystian wrote:
This appears to be a GCC bug. Requesting guidance from @AaronBallman @erichkeane @zygoloid.
https://github.com/llvm/llvm-project/pull/98252
More information about the llvm-commits
mailing list