From 5a35ff2a0fdd7b29f0206328f1b9d793412c83ad Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 18 Dec 2020 21:27:56 -0700 Subject: [PATCH] Do not inspect an object that has been moved from. --- tests/particles/particle_03.cc | 3 --- tests/particles/particle_03.output | 1 - 2 files changed, 4 deletions(-) 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 -- 2.39.5