summaryrefslogtreecommitdiff
path: root/src/class_linker.h
diff options
context:
space:
mode:
author Elliott Hughes <enh@google.com> 2012-04-14 11:46:01 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2012-04-14 11:46:01 -0700
commit42f302c1da4cf1abf935d7aee29ece8d90441e0c (patch)
tree1313bbbf93b2983e4046c5eaf023c48377e7fb9a /src/class_linker.h
parent33687790adbb889abdd95bb22914acb57ce6e68c (diff)
parenta0e180632411f7fe0edf454e571c42209ee7b540 (diff)
Merge "Add a SafeMap equivalent to std::map but without the error-prone operator[]." into ics-mr1-plus-art
Diffstat (limited to 'src/class_linker.h')
-rw-r--r--src/class_linker.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/class_linker.h b/src/class_linker.h
index 86b02ad2d4..a8fa01d10b 100644
--- a/src/class_linker.h
+++ b/src/class_linker.h
@@ -17,7 +17,6 @@
#ifndef ART_SRC_CLASS_LINKER_H_
#define ART_SRC_CLASS_LINKER_H_
-#include <map>
#include <string>
#include <utility>
#include <vector>
@@ -30,6 +29,7 @@
#include "mutex.h"
#include "oat_file.h"
#include "object.h"
+#include "safe_map.h"
#include "stack_indirect_reference_table.h"
namespace art {
@@ -342,7 +342,7 @@ class ClassLinker {
void AppendToBootClassPath(const DexFile& dex_file, SirtRef<DexCache>& dex_cache);
void ConstructFieldMap(const DexFile& dex_file, const DexFile::ClassDef& dex_class_def,
- Class* c, std::map<uint32_t, Field*>& field_map);
+ Class* c, SafeMap<uint32_t, Field*>& field_map);
size_t SizeOfClass(const DexFile& dex_file,
const DexFile::ClassDef& dex_class_def);