From: Wolfgang Bangerth Date: Mon, 16 Sep 2013 03:34:44 +0000 (+0000) Subject: Do not declare a member function as 'inline' in the .cc file as that appears X-Git-Tag: v8.1.0~809 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c04988a628c3d7472eefb8259b944d409cd4641d;p=dealii.git 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 --- 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