From 0895e129f8f93d0253dc51faf35500a5e3ff6a8f Mon Sep 17 00:00:00 2001 From: danshapero Date: Mon, 29 Aug 2016 12:12:12 -0700 Subject: [PATCH] Changed order in tria move ctor test Flipping the order in which the manifold and the Triangulation are declared in the triangulation move ctor test makes the test pass. Is this fine or should we be adding move operations for smart pointers also? --- tests/grid/move_constructor.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/grid/move_constructor.cc b/tests/grid/move_constructor.cc index 724bd9c818..919f1dc69a 100644 --- a/tests/grid/move_constructor.cc +++ b/tests/grid/move_constructor.cc @@ -67,10 +67,11 @@ void test_hyper_shell() { deallog << "Dimension: " << dim << std::endl; + const SphericalManifold boundary; + Triangulation tria; GridGenerator::hyper_ball(tria); - const SphericalManifold boundary; tria.set_all_manifold_ids_on_boundary(0); tria.set_manifold(0, boundary); -- 2.39.5