Commit a7c5905c authored by Dan Ibanez's avatar Dan Ibanez
Browse files

prevent implicit dereference of s_CTEMP

parent 62dea1bb
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -45,14 +45,13 @@ namespace LAMMPS_NS {
    }

    KOKKOS_INLINE_FUNCTION
    volatile s_CTEMP& operator+=(const volatile s_CTEMP &rhs) volatile {
    void operator+=(const volatile s_CTEMP &rhs) volatile {
      t0 += rhs.t0;
      t1 += rhs.t1;
      t2 += rhs.t2;
      t3 += rhs.t3;
      t4 += rhs.t4;
      t5 += rhs.t5;
      return *this;
    }
  };
  typedef s_CTEMP CTEMP;