From: danshapero Date: Mon, 29 Aug 2016 19:12:12 +0000 (-0700) Subject: Changed order in tria move ctor test X-Git-Tag: v8.5.0-rc1~653^2~3 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0895e129f8f93d0253dc51faf35500a5e3ff6a8f;p=dealii.git 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? --- 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);