From: Wolfgang Bangerth Date: Fri, 30 Oct 2009 05:41:43 +0000 (+0000) Subject: Do not use "using namespace dealii;" at the top of the file since this affects X-Git-Tag: v8.0.0~6865 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=351614d9e626b1b31f5998cbc34e9bb7a077f01b;p=dealii.git Do not use "using namespace dealii;" at the top of the file since this affects everyone who includes this header file. That's not the intent... git-svn-id: https://svn.dealii.org/trunk@20009 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/include/lac/lapack_templates.h b/deal.II/lac/include/lac/lapack_templates.h index a9646ab069..ea67a684c4 100644 --- a/deal.II/lac/include/lac/lapack_templates.h +++ b/deal.II/lac/include/lac/lapack_templates.h @@ -17,10 +17,9 @@ #ifndef __LAPACK_TEMPLATES_H #define __LAPACK_TEMPLATES_H +#include #include -using namespace dealii; - extern "C" { // vector update of the form y += alpha*x with a scalar, x,y vectors @@ -171,6 +170,7 @@ void sstev_ (const char* jobz, const int* n, } +DEAL_II_NAMESPACE_OPEN #ifdef HAVE_DAXPY_ inline void @@ -621,5 +621,6 @@ stev (const char*, const int*, float*, float*, float*, const int*, float*, int*) } #endif +DEAL_II_NAMESPACE_CLOSE #endif