diff options
author | 2015-03-18 10:39:00 -0700 | |
---|---|---|
committer | 2015-03-18 13:39:18 -0700 | |
commit | 47f867a0ae34d743f6159c2261e5b11e39693e15 (patch) | |
tree | 3b9129e77ab3e99b211fccc8ab2eba06d0c12957 /runtime/class_linker.h | |
parent | a2b02f7bb474549ae356b5edfbb27a76e5460c58 (diff) |
Clean up hash set
Added vertical whitespace, const iterators, made some functions
const.
Change-Id: I188dc0384a98d6dae2822f0ac38b740f2356c23d
Diffstat (limited to 'runtime/class_linker.h')
-rw-r--r-- | runtime/class_linker.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/class_linker.h b/runtime/class_linker.h index 75fbdf3f59..4ebce3e962 100644 --- a/runtime/class_linker.h +++ b/runtime/class_linker.h @@ -661,16 +661,16 @@ class ClassLinker { public: // Same class loader and descriptor. std::size_t operator()(const GcRoot<mirror::Class>& root) const NO_THREAD_SAFETY_ANALYSIS; - bool operator()(const GcRoot<mirror::Class>& a, const GcRoot<mirror::Class>& b) + bool operator()(const GcRoot<mirror::Class>& a, const GcRoot<mirror::Class>& b) const NO_THREAD_SAFETY_ANALYSIS; // Same class loader and descriptor. std::size_t operator()(const std::pair<const char*, mirror::ClassLoader*>& element) const NO_THREAD_SAFETY_ANALYSIS; bool operator()(const GcRoot<mirror::Class>& a, - const std::pair<const char*, mirror::ClassLoader*>& b) + const std::pair<const char*, mirror::ClassLoader*>& b) const NO_THREAD_SAFETY_ANALYSIS; // Same descriptor. - bool operator()(const GcRoot<mirror::Class>& a, const char* descriptor) + bool operator()(const GcRoot<mirror::Class>& a, const char* descriptor) const NO_THREAD_SAFETY_ANALYSIS; std::size_t operator()(const char* descriptor) const NO_THREAD_SAFETY_ANALYSIS; }; |