From d22047a284874410c49fba7aa890e4de6818c430 Mon Sep 17 00:00:00 2001
From: Houtan Bastani <houtan@dynare.org>
Date: Wed, 20 Nov 2013 11:36:01 +0100
Subject: [PATCH] preprocessor: remove "using namespace std" where not needed

---
 DynareMain.cc           | 2 --
 DynareMain2.cc          | 2 --
 Shocks.cc               | 2 --
 SigmaeInitialization.hh | 2 --
 Statement.hh            | 2 --
 WarningConsolidation.cc | 2 --
 6 files changed, 12 deletions(-)

diff --git a/DynareMain.cc b/DynareMain.cc
index 44227c9c..4e8709b2 100644
--- a/DynareMain.cc
+++ b/DynareMain.cc
@@ -17,8 +17,6 @@
  * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-using namespace std;
-
 #include <iostream>
 #include <sstream>
 #include <fstream>
diff --git a/DynareMain2.cc b/DynareMain2.cc
index eb044620..66ade0c8 100644
--- a/DynareMain2.cc
+++ b/DynareMain2.cc
@@ -17,8 +17,6 @@
  * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-using namespace std;
-
 #include <iostream>
 
 #include "ParsingDriver.hh"
diff --git a/Shocks.cc b/Shocks.cc
index 1a943d2c..d1c2ea70 100644
--- a/Shocks.cc
+++ b/Shocks.cc
@@ -17,8 +17,6 @@
  * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-using namespace std;
-
 #include <cassert>
 #include <cstdlib>
 #include <iostream>
diff --git a/SigmaeInitialization.hh b/SigmaeInitialization.hh
index c2decb3f..ddfcc7f1 100644
--- a/SigmaeInitialization.hh
+++ b/SigmaeInitialization.hh
@@ -20,8 +20,6 @@
 #ifndef _SIGMAEINITIALIZATION_HH
 #define _SIGMAEINITIALIZATION_HH
 
-using namespace std;
-
 #include <string>
 #include <vector>
 
diff --git a/Statement.hh b/Statement.hh
index ff0a53e0..0563ced9 100644
--- a/Statement.hh
+++ b/Statement.hh
@@ -20,8 +20,6 @@
 #ifndef _STATEMENT_HH
 #define _STATEMENT_HH
 
-using namespace std;
-
 #include <ostream>
 #include <string>
 #include <map>
diff --git a/WarningConsolidation.cc b/WarningConsolidation.cc
index beaf061d..653d4730 100644
--- a/WarningConsolidation.cc
+++ b/WarningConsolidation.cc
@@ -17,8 +17,6 @@
  * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-using namespace std;
-
 #include "WarningConsolidation.hh"
 #include <ostream>
 
-- 
GitLab