From: Wolfgang Bangerth Date: Fri, 16 Jun 2006 21:39:37 +0000 (+0000) Subject: Make dummy a template function to avoid duplicate symbols. X-Git-Tag: v8.0.0~11654 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05816155dcf40b289116364aecab9617ec367284;p=dealii.git Make dummy a template function to avoid duplicate symbols. git-svn-id: https://svn.dealii.org/trunk@13269 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/dofs/dof_handler.cc b/deal.II/deal.II/source/dofs/dof_handler.cc index a8e4a47907..cee8d45d0d 100644 --- a/deal.II/deal.II/source/dofs/dof_handler.cc +++ b/deal.II/deal.II/source/dofs/dof_handler.cc @@ -42,10 +42,13 @@ const unsigned int DoFHandler::default_fe_index; // a bug in the icc8 compiler namespace internal { + template const unsigned int * dummy () { - return &::DoFHandler::invalid_dof_index; + return &::DoFHandler::invalid_dof_index; } + + template const unsigned int * dummy (); }