From 8b68a3b1f429236f45d54f3bb7a2efb5bbf7960b Mon Sep 17 00:00:00 2001 From: Compte local pour Gilles Grospellier Date: Sun, 15 Dec 2024 16:32:01 +0100 Subject: [PATCH] [alien,tests] Use 'std::remove_reference' instead of 'boost::remove_reference'. 'boost::remove_reference' is not always defined. It depends of compilation option used when building boost. --- alien/standalone/examples/test_krylov.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/alien/standalone/examples/test_krylov.cpp b/alien/standalone/examples/test_krylov.cpp index 3bd6c2c7ad..a07127b4d1 100644 --- a/alien/standalone/examples/test_krylov.cpp +++ b/alien/standalone/examples/test_krylov.cpp @@ -463,7 +463,7 @@ int main(int argc, char** argv) auto run = [&](auto& alg) { typedef typename - boost::remove_reference::type AlgebraType ; + std::remove_reference::type AlgebraType ; typedef typename AlgebraType::BackEndType BackEndType ; typedef Alien::Iteration StopCriteriaType ; @@ -505,8 +505,7 @@ int main(int argc, char** argv) // clang-format off auto run = [&](auto& alg) { - typedef typename - boost::remove_reference::type AlgebraType ; + typedef typename std::remove_reference::type AlgebraType ; typedef typename AlgebraType::BackEndType BackEndType ; typedef Alien::Iteration StopCriteriaType ; @@ -679,8 +678,7 @@ int main(int argc, char** argv) // clang-format off auto run_sycl = [&](auto& alg) { - typedef typename - boost::remove_reference::type AlgebraType ; + typedef typename std::remove_reference::type AlgebraType ; typedef typename AlgebraType::BackEndType BackEndType ; typedef Alien::Iteration StopCriteriaType ;