From: David Wells Date: Sat, 29 Aug 2015 17:35:20 +0000 (-0400) Subject: Use an anonymous namespace. X-Git-Tag: v8.4.0-rc2~521^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1463%2Fhead;p=dealii.git Use an anonymous namespace. This function is only called at one place in the same translation unit. --- diff --git a/source/base/polynomials_bernstein.cc b/source/base/polynomials_bernstein.cc index 942d3e9314..1cb8c56834 100644 --- a/source/base/polynomials_bernstein.cc +++ b/source/base/polynomials_bernstein.cc @@ -6,7 +6,7 @@ DEAL_II_NAMESPACE_OPEN -namespace Binomial +namespace { template std::vector @@ -31,7 +31,7 @@ PolynomialsBernstein:: PolynomialsBernstein ( const unsigned int index, const unsigned int degree) : Polynomials::Polynomial( - Binomial::get_bernstein_coefficients(index, degree)) + get_bernstein_coefficients(index, degree)) { }