From 6f25bfbea0f25489a0f0795c3df096841fa32e72 Mon Sep 17 00:00:00 2001 From: Houtan Bastani Date: Wed, 20 Nov 2013 11:36:01 +0100 Subject: [PATCH] preprocessor: remove "using namespace std" where not needed --- preprocessor/DynareMain.cc | 2 -- preprocessor/DynareMain2.cc | 2 -- preprocessor/Shocks.cc | 2 -- preprocessor/SigmaeInitialization.hh | 2 -- preprocessor/Statement.hh | 2 -- preprocessor/WarningConsolidation.cc | 2 -- 6 files changed, 12 deletions(-) diff --git a/preprocessor/DynareMain.cc b/preprocessor/DynareMain.cc index 44227c9c6..4e8709b22 100644 --- a/preprocessor/DynareMain.cc +++ b/preprocessor/DynareMain.cc @@ -17,8 +17,6 @@ * along with Dynare. If not, see . */ -using namespace std; - #include #include #include diff --git a/preprocessor/DynareMain2.cc b/preprocessor/DynareMain2.cc index eb0446200..66ade0c84 100644 --- a/preprocessor/DynareMain2.cc +++ b/preprocessor/DynareMain2.cc @@ -17,8 +17,6 @@ * along with Dynare. If not, see . */ -using namespace std; - #include #include "ParsingDriver.hh" diff --git a/preprocessor/Shocks.cc b/preprocessor/Shocks.cc index 1a943d2c6..d1c2ea702 100644 --- a/preprocessor/Shocks.cc +++ b/preprocessor/Shocks.cc @@ -17,8 +17,6 @@ * along with Dynare. If not, see . */ -using namespace std; - #include #include #include diff --git a/preprocessor/SigmaeInitialization.hh b/preprocessor/SigmaeInitialization.hh index c2decb3f8..ddfcc7f10 100644 --- a/preprocessor/SigmaeInitialization.hh +++ b/preprocessor/SigmaeInitialization.hh @@ -20,8 +20,6 @@ #ifndef _SIGMAEINITIALIZATION_HH #define _SIGMAEINITIALIZATION_HH -using namespace std; - #include #include diff --git a/preprocessor/Statement.hh b/preprocessor/Statement.hh index ff0a53e0a..0563ced96 100644 --- a/preprocessor/Statement.hh +++ b/preprocessor/Statement.hh @@ -20,8 +20,6 @@ #ifndef _STATEMENT_HH #define _STATEMENT_HH -using namespace std; - #include #include #include diff --git a/preprocessor/WarningConsolidation.cc b/preprocessor/WarningConsolidation.cc index beaf061de..653d47305 100644 --- a/preprocessor/WarningConsolidation.cc +++ b/preprocessor/WarningConsolidation.cc @@ -17,8 +17,6 @@ * along with Dynare. If not, see . */ -using namespace std; - #include "WarningConsolidation.hh" #include