From de650069e2f2a3a952b63db46e1cbb3005b625d3 Mon Sep 17 00:00:00 2001 From: dellaert Date: Mon, 1 Dec 2014 20:29:11 +0100 Subject: [PATCH] No using namespace in headers --- wrap/spirit.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/wrap/spirit.h b/wrap/spirit.h index 92abe93ef..ca081109a 100644 --- a/wrap/spirit.h +++ b/wrap/spirit.h @@ -138,7 +138,14 @@ struct BasicRules { BasicRules() { - using namespace BOOST_SPIRIT_CLASSIC_NS; + using classic::comment_p; + using classic::eol_p; + using classic::str_p; + using classic::alpha_p; + using classic::lexeme_d; + using classic::upper_p; + using classic::lower_p; + using classic::alnum_p; comments_p = comment_p("/*", "*/") | comment_p("//", eol_p);