From: Daniel Arndt Date: Sat, 11 Jan 2020 05:43:49 +0000 (-0500) Subject: Avoid gcc-4.9 error X-Git-Tag: v9.2.0-rc1~699^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F9285%2Fhead;p=dealii.git Avoid gcc-4.9 error --- 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); } }