From c5bf683cf16108eef1d7569b18916fe95ccb767c Mon Sep 17 00:00:00 2001 From: Randolf Beerwerth <r.beerwerth@fz-juelich.de> Date: Sat, 5 Sep 2020 16:02:22 +0200 Subject: [PATCH] revert release() --- Tests/UnitTests/Core/Sample/RTTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/UnitTests/Core/Sample/RTTest.cpp b/Tests/UnitTests/Core/Sample/RTTest.cpp index b9f4ef66bb3..858e4e997fe 100644 --- a/Tests/UnitTests/Core/Sample/RTTest.cpp +++ b/Tests/UnitTests/Core/Sample/RTTest.cpp @@ -34,7 +34,7 @@ protected: { std::vector<ScalarRTCoefficients> result; for (auto& coeff : inputCoeffs) - result.push_back(*dynamic_cast<const ScalarRTCoefficients*>(coeff.release())); + result.push_back(*dynamic_cast<const ScalarRTCoefficients*>(coeff.get())); return result; } -- GitLab