From 8ed5bc2a9740fef0b0d548cf8c8ba50adba1b898 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 --- SymbolList.hh | 4 ++-- WarningConsolidation.hh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/SymbolList.hh b/SymbolList.hh index dafa965b..45c7023f 100644 --- a/SymbolList.hh +++ b/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/WarningConsolidation.hh b/WarningConsolidation.hh index ba633014..135a54a3 100644 --- a/WarningConsolidation.hh +++ b/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