From c04988a628c3d7472eefb8259b944d409cd4641d Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 16 Sep 2013 03:34:44 +0000 Subject: [PATCH] Do not declare a member function as 'inline' in the .cc file as that appears to confuse GCC when using -flto. git-svn-id: https://svn.dealii.org/trunk@30723 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/numerics/histogram.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/deal.II/source/numerics/histogram.cc b/deal.II/source/numerics/histogram.cc index c1c89e903a..ac21b650a4 100644 --- a/deal.II/source/numerics/histogram.cc +++ b/deal.II/source/numerics/histogram.cc @@ -24,7 +24,6 @@ DEAL_II_NAMESPACE_OPEN template -inline bool Histogram::logarithmic_less (const number n1, const number n2) { @@ -120,14 +119,14 @@ void Histogram::evaluate (const std::vector > &values, values[i].end(), logarithmic_less_function), logarithmic_less_function); - }; + } break; - }; + } default: Assert (false, ExcInternalError()); - }; + } // move right bound arbitrarily if // necessary. sometimes in logarithmic -- 2.39.5