summaryrefslogtreecommitdiff
path: root/tools/aidl/aidl.cpp
diff options
context:
space:
mode:
authorChristopher Wiley <wiley@google.com>2015-08-24 14:07:32 -0700
committerChristopher Wiley <wiley@google.com>2015-08-24 14:28:36 -0700
commit1eaa9ed33488bbc8fe3d9185fd053e5aa1246681 (patch)
tree936c45c175fc992885768e9fcf290221b2cde63b /tools/aidl/aidl.cpp
parent582d16681bf46eb2f11c24132ffbcd9f7cc4b74d (diff)
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
Diffstat (limited to 'tools/aidl/aidl.cpp')
-rw-r--r--tools/aidl/aidl.cpp5
1 files changed, 4 insertions, 1 deletions
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)