From 8a3dec7b892b059807b8bb4efc0a47cc198b085b Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 15 Apr 2020 10:43:46 -0600 Subject: [PATCH] Use std::enable_if instead of boost::disable_if. --- include/deal.II/particles/particle_handler.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/include/deal.II/particles/particle_handler.h b/include/deal.II/particles/particle_handler.h index 24404e0cd2..5948e78f5e 100644 --- a/include/deal.II/particles/particle_handler.h +++ b/include/deal.II/particles/particle_handler.h @@ -334,8 +334,9 @@ namespace Particles * @authors Luca Heltai, Bruno Blais, 2019. */ template - typename boost::disable_if< - std::is_convertible *>>::type + typename std::enable_if< + std::is_convertible *>::value == + false>::type set_particle_positions(const VectorType &input_vector, const bool displace_particles = true); @@ -795,8 +796,9 @@ namespace Particles template template - typename boost::disable_if< - std::is_convertible *>>::type + typename std::enable_if< + std::is_convertible *>::value == + false>::type ParticleHandler::set_particle_positions( const VectorType &input_vector, const bool displace_particles) -- 2.39.5