From 1eaa9ed33488bbc8fe3d9185fd053e5aa1246681 Mon Sep 17 00:00:00 2001 From: Christopher Wiley Date: Mon, 24 Aug 2015 14:07:32 -0700 Subject: Do not merge namespaces It is good practice to not include the whole std:: namespace into the global namespace. This is doubly true in headers. TEST=aidl compiles Change-Id: I910ca8082f61cce4f23f8564b8a12c2828b75b3c --- tools/aidl/aidl.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tools/aidl/aidl.cpp') diff --git a/tools/aidl/aidl.cpp b/tools/aidl/aidl.cpp index 438007f527d5..2d8f0acf8bb5 100644 --- a/tools/aidl/aidl.cpp +++ b/tools/aidl/aidl.cpp @@ -31,7 +31,10 @@ #define MIN_USER_SET_METHOD_ID 0 #define MAX_USER_SET_METHOD_ID 16777214 -using namespace std; +using std::map; +using std::set; +using std::string; +using std::vector; static void test_document(document_item_type* d) -- cgit v1.2.3-59-g8ed1b