[llvm] [ADT] Fix missing 'template' keyword (PR #98252)

NAKAMURA Takumi via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 9 17:57:16 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>());
----------------
chapuni wrote:

```
g++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
```

https://github.com/llvm/llvm-project/pull/98252


More information about the llvm-commits mailing list