]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Do not declare a member function as 'inline' in the .cc file as that appears
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 16 Sep 2013 03:34:44 +0000 (03:34 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 16 Sep 2013 03:34:44 +0000 (03:34 +0000)
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

index c1c89e903acbf476d836fec0fb00ff176d3173e8..ac21b650a4f697a2bf8983124a3a8a1055c9903a 100644 (file)
@@ -24,7 +24,6 @@ DEAL_II_NAMESPACE_OPEN
 
 
 template <typename number>
-inline
 bool Histogram::logarithmic_less (const number n1,
                                   const number n2)
 {
@@ -120,14 +119,14 @@ void Histogram::evaluate (const std::vector<Vector<number> > &values,
                                                   values[i].end(),
                                                   logarithmic_less_function),
                                 logarithmic_less_function);
-        };
+        }
 
       break;
-    };
+    }
 
     default:
       Assert (false, ExcInternalError());
-    };
+    }
 
   // move right bound arbitrarily if
   // necessary. sometimes in logarithmic

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.