From 97d0e32c1eae826d7309bdfd3ccfbb304127be9f Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Sat, 11 Jan 2020 00:43:49 -0500 Subject: [PATCH] Avoid gcc-4.9 error --- source/grid/manifold_lib.cc | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/source/grid/manifold_lib.cc b/source/grid/manifold_lib.cc index 135c2ca15d..fd5562b2cb 100644 --- a/source/grid/manifold_lib.cc +++ b/source/grid/manifold_lib.cc @@ -1418,16 +1418,13 @@ FunctionManifold::clone() const } else { - auto manifold_clone = - std_cxx14::make_unique>( - *push_forward_function, - *pull_back_function, - this->get_periodicity(), - tolerance); - Assert(owns_pointers == false, ExcNotImplemented()); - return manifold_clone; + return std_cxx14::make_unique>( + *push_forward_function, + *pull_back_function, + this->get_periodicity(), + tolerance); } } -- 2.39.5