From: Wolfgang Bangerth Date: Fri, 17 Oct 2003 23:18:03 +0000 (+0000) Subject: Add dummy return statement after Assert(false). Remove inline keyword X-Git-Tag: v8.0.0~16105 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1120df1843ceac948eaa16559935221012597a78;p=dealii.git Add dummy return statement after Assert(false). Remove inline keyword to avoid missing symbols. git-svn-id: https://svn.dealii.org/trunk@8105 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/grid/tria_accessor.cc b/deal.II/deal.II/source/grid/tria_accessor.cc index dfc23cb812..3c097da21f 100644 --- a/deal.II/deal.II/source/grid/tria_accessor.cc +++ b/deal.II/deal.II/source/grid/tria_accessor.cc @@ -2125,13 +2125,13 @@ bool CellAccessor::has_boundary_lines () const #if deal_II_dimension == 1 template <> -inline TriaIterator<1,CellAccessor<1> > CellAccessor<1>:: neighbor_child_on_subface (const unsigned int, const unsigned int) const { Assert (false, ExcNotImplemented()); + return TriaIterator<1,CellAccessor<1> >(); } #endif @@ -2139,7 +2139,6 @@ neighbor_child_on_subface (const unsigned int, #if deal_II_dimension == 2 template <> -inline TriaIterator<2,CellAccessor<2> > CellAccessor<2>:: neighbor_child_on_subface (const unsigned int face, @@ -2167,7 +2166,6 @@ neighbor_child_on_subface (const unsigned int face, #if deal_II_dimension == 3 template <> -inline TriaIterator<3,CellAccessor<3> > CellAccessor<3>:: neighbor_child_on_subface (const unsigned int face,