From: Wolfgang Bangerth Date: Wed, 15 Apr 2020 16:43:46 +0000 (-0600) Subject: Use std::enable_if instead of boost::disable_if. X-Git-Tag: v9.2.0-rc1~227^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F9895%2Fhead;p=dealii.git Use std::enable_if instead of boost::disable_if. --- 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)