From d1322c75046b66057e9efc7523039d19e34a079a Mon Sep 17 00:00:00 2001 From: wolf Date: Fri, 16 Jun 2006 21:39:37 +0000 Subject: [PATCH] Make dummy a template function to avoid duplicate symbols. git-svn-id: https://svn.dealii.org/trunk@13269 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/dofs/dof_handler.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 (); } -- 2.39.5