Skip to content

Commit

Permalink
[alien,tests] Use 'std::remove_reference' instead of 'boost::remove_r…
Browse files Browse the repository at this point in the history
…eference'.

'boost::remove_reference' is not always defined. It depends of
compilation option used when building boost.
  • Loading branch information
Compte local pour Gilles Grospellier authored and Compte local pour Gilles Grospellier committed Dec 15, 2024
1 parent 2fc0c76 commit 8b68a3b
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions alien/standalone/examples/test_krylov.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ int main(int argc, char** argv)
auto run = [&](auto& alg)
{
typedef typename
boost::remove_reference<decltype(alg)>::type AlgebraType ;
std::remove_reference<decltype(alg)>::type AlgebraType ;
typedef typename AlgebraType::BackEndType BackEndType ;
typedef Alien::Iteration<AlgebraType> StopCriteriaType ;

Expand Down Expand Up @@ -505,8 +505,7 @@ int main(int argc, char** argv)
// clang-format off
auto run = [&](auto& alg)
{
typedef typename
boost::remove_reference<decltype(alg)>::type AlgebraType ;
typedef typename std::remove_reference<decltype(alg)>::type AlgebraType ;
typedef typename AlgebraType::BackEndType BackEndType ;
typedef Alien::Iteration<AlgebraType> StopCriteriaType ;

Expand Down Expand Up @@ -679,8 +678,7 @@ int main(int argc, char** argv)
// clang-format off
auto run_sycl = [&](auto& alg)
{
typedef typename
boost::remove_reference<decltype(alg)>::type AlgebraType ;
typedef typename std::remove_reference<decltype(alg)>::type AlgebraType ;
typedef typename AlgebraType::BackEndType BackEndType ;
typedef Alien::Iteration<AlgebraType> StopCriteriaType ;

Expand Down

0 comments on commit 8b68a3b

Please sign in to comment.