From: Wolfgang Bangerth Date: Sat, 19 Dec 2020 04:27:56 +0000 (-0700) Subject: Do not inspect an object that has been moved from. X-Git-Tag: v9.3.0-rc1~739^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F11397%2Fhead;p=dealii.git Do not inspect an object that has been moved from. --- diff --git a/tests/particles/particle_03.cc b/tests/particles/particle_03.cc index 26795fe626..8979068fe4 100644 --- a/tests/particles/particle_03.cc +++ b/tests/particles/particle_03.cc @@ -66,9 +66,6 @@ test() const Particles::Particle<2> moved_particle(std::move(particle)); - deallog << "Old particle has properties after move: " - << particle.has_properties() << std::endl; - deallog << "Moved particle properties: " << std::vector(moved_particle.get_properties().begin(), moved_particle.get_properties().end()) diff --git a/tests/particles/particle_03.output b/tests/particles/particle_03.output index 1f1af1dc12..7da6a80034 100644 --- a/tests/particles/particle_03.output +++ b/tests/particles/particle_03.output @@ -2,6 +2,5 @@ DEAL::Particle properties: 0.150000 0.450000 0.750000 DEAL::Copy particle properties: 0.150000 0.450000 0.750000 DEAL::Old particle has properties before move: 1 -DEAL::Old particle has properties after move: 0 DEAL::Moved particle properties: 0.150000 0.450000 0.750000 DEAL::OK