Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(4)

Unified Diff: lily/lily-guile.cc

Issue 579240043: Issue 4550: Avoid "using namespace std;" in included files (Take 2) (Closed)
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: lily/lily-guile.cc
diff --git a/lily/lily-guile.cc b/lily/lily-guile.cc
index 212967a7deca69d5186002bb991746d41249718f..c724f771ddfaee8f07e6369abd64d5a777c72223 100644
--- a/lily/lily-guile.cc
+++ b/lily/lily-guile.cc
@@ -25,7 +25,6 @@
#include <cstring> /* strdup, strchr */
#include <cctype>
-using namespace std;
#include "dimensions.hh"
#include "direction.hh"
@@ -42,6 +41,9 @@ using namespace std;
#include "warn.hh"
#include "lily-imports.hh"
+using std::string;
+using std::vector;
+
/*
symbols/strings.
*/
« flower/include/file-name.hh ('K') | « lily/lexer.ll ('k') | lily/lily-lexer.cc » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b