diff --git a/include/ps/internal/assign_op.h b/include/ps/internal/assign_op.h index 834f523e..7db1d5f2 100644 --- a/include/ps/internal/assign_op.h +++ b/include/ps/internal/assign_op.h @@ -24,7 +24,7 @@ enum AssignOp { * \brief return an assignment function: right op= left */ template -inline void AssignFunc(const T& lhs, AssignOp op, T* rhs) { +inline void AssignFunc(const T& left, AssignOp op, T* right) { switch (op) { case ASSIGN: *right = left; break; @@ -46,7 +46,7 @@ inline void AssignFunc(const T& lhs, AssignOp op, T* rhs) { * works for integers */ template -inline void AssignFuncInt(const T& lhs, AssignOp op, T* rhs) { +inline void AssignFuncInt(const T& left, AssignOp op, T* right) { switch (op) { case ASSIGN: *right = left; break;