Explorar o código

Make it compile on Ubuntu 20.04 (g++ 9.4.0)

Ian Goldberg %!s(int64=2) %!d(string=hai) anos
pai
achega
c6682b9553
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      duoram.tcc

+ 1 - 1
duoram.tcc

@@ -394,7 +394,7 @@ Duoram<T>::Shape::MemRefS<U>::operator T()
 
 // Oblivious update to an additively shared index of Duoram memory
 template <typename T> template <typename U>
-typename Duoram<T>::Shape::MemRefS<U>
+typename Duoram<T>::Shape::template MemRefS<U>
     &Duoram<T>::Shape::MemRefS<U>::operator+=(const T& M)
 {
     Shape &shape = this->shape;