Преглед на файлове

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

Ian Goldberg преди 2 години
родител
ревизия
c6682b9553
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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;