From ccd014cc1aa8f39aa7a48abf9e97ff80c5728457 Mon Sep 17 00:00:00 2001 From: Tobias Meyer Andersen Date: Wed, 17 Apr 2024 13:10:49 +0200 Subject: [PATCH] remove some usage of this-> --- opm/simulators/linalg/cuistl/CuOwnerOverlapCopy.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opm/simulators/linalg/cuistl/CuOwnerOverlapCopy.hpp b/opm/simulators/linalg/cuistl/CuOwnerOverlapCopy.hpp index e6853f297..5754c343b 100644 --- a/opm/simulators/linalg/cuistl/CuOwnerOverlapCopy.hpp +++ b/opm/simulators/linalg/cuistl/CuOwnerOverlapCopy.hpp @@ -58,7 +58,7 @@ public: */ void project(X& x) const { - std::call_once(this->m_initializedIndices, [&]() { initIndexSet(); }); + std::call_once(m_initializedIndices, [&]() { initIndexSet(); }); x.setZeroAtIndexSet(*m_indicesCopy); } @@ -86,7 +86,7 @@ public: field_type norm(const X& x) const { auto xDotX = field_type(0); - this->dot(x, x, xDotX); + dot(x, x, xDotX); // using std::sqrt; return std::sqrt(xDotX);