From: Wolfgang Bangerth Date: Thu, 8 Sep 2016 22:50:45 +0000 (-0600) Subject: Avoid a warning about an unused argument. X-Git-Tag: v8.5.0-rc1~685^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89bbd7dc19d359f352b13a84a14a566877c822f7;p=dealii.git Avoid a warning about an unused argument. --- diff --git a/source/distributed/tria_base.cc b/source/distributed/tria_base.cc index 6ab0594fd3..15020f7b11 100644 --- a/source/distributed/tria_base.cc +++ b/source/distributed/tria_base.cc @@ -1,6 +1,6 @@ // --------------------------------------------------------------------- // -// Copyright (C) 2015 by the deal.II authors +// Copyright (C) 2015, 2016 by the deal.II authors // // This file is part of the deal.II library. // @@ -55,11 +55,15 @@ namespace parallel number_cache.n_locally_owned_active_cells.resize (n_subdomains); } + + template void - Triangulation::copy_triangulation (const dealii::Triangulation &other_tria) + Triangulation:: + copy_triangulation (const dealii::Triangulation &other_tria) { #ifndef DEAL_II_WITH_MPI + (void)other_tria; Assert(false, ExcMessage("You compiled deal.II without MPI support, for " "which parallel::Triangulation is not available.")); #else