diff options
author | Laurent Tu <laurentt@google.com> | 2013-02-15 16:07:33 -0800 |
---|---|---|
committer | Laurent Tu <laurentt@google.com> | 2013-02-15 16:07:56 -0800 |
commit | 7c93839d7b41727c11925b034d4ec84491d3dee1 (patch) | |
tree | 65394461734ad752e1b12b716514f6ba25aa3797 | |
parent | 7f84ed31f01997d4906e408c335f783a91d197d5 (diff) | |
download | frameworks_base-7c93839d7b41727c11925b034d4ec84491d3dee1.zip frameworks_base-7c93839d7b41727c11925b034d4ec84491d3dee1.tar.gz frameworks_base-7c93839d7b41727c11925b034d4ec84491d3dee1.tar.bz2 |
Revert "Tentative fix for aidl import issue"
Fix build.
This reverts commit 4f115e08cb68aaf77693f3f4598f0eb5f7634777.
Change-Id: Ic4f51e3492f54afec5f0eeb48e08491eb47f3c04
-rw-r--r-- | tools/aidl/Type.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/aidl/Type.cpp b/tools/aidl/Type.cpp index c637aee..d572af6 100644 --- a/tools/aidl/Type.cpp +++ b/tools/aidl/Type.cpp @@ -1348,7 +1348,7 @@ Namespace::Search(const string& name) // would be the place to do it, but I don't think the complexity in // scoping rules is worth it. int N = m_types.size(); - for (int i=N-1; i>=0; i--) { + for (int i=0; i<N; i++) { if (m_types[i]->Name() == name) { return m_types[i]; } |