From b4a9ba78e7931f2fd332ae1f2b55cd6170803d57 Mon Sep 17 00:00:00 2001 From: Houtan Bastani <houtan@dynare.org> Date: Thu, 21 Nov 2013 14:47:44 +0100 Subject: [PATCH] preprocessor: eliminate clang warning about using namespace std --- preprocessor/SymbolList.hh | 4 ++-- preprocessor/WarningConsolidation.hh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/preprocessor/SymbolList.hh b/preprocessor/SymbolList.hh index dafa965bfc..45c7023fdf 100644 --- a/preprocessor/SymbolList.hh +++ b/preprocessor/SymbolList.hh @@ -20,12 +20,12 @@ #ifndef _SYMBOL_LIST_HH #define _SYMBOL_LIST_HH -using namespace std; - #include <string> #include <vector> #include <ostream> +using namespace std; + //! Used to store a list of symbols /*! This class is no more than a vector<string>, with a pretty-printer for Matlab */ class SymbolList diff --git a/preprocessor/WarningConsolidation.hh b/preprocessor/WarningConsolidation.hh index ba63301429..135a54a39d 100644 --- a/preprocessor/WarningConsolidation.hh +++ b/preprocessor/WarningConsolidation.hh @@ -20,12 +20,12 @@ #ifndef _WARNINGCONSOLIDATION_HH #define _WARNINGCONSOLIDATION_HH -using namespace std; - #include <sstream> #include <string> #include "location.hh" +using namespace std; + //! Stores Warnings issued by the Preprocessor class WarningConsolidation { -- GitLab