Clean up hash set
Added vertical whitespace, const iterators, made some functions
const.
Change-Id: I188dc0384a98d6dae2822f0ac38b740f2356c23d
diff --git a/runtime/class_linker.h b/runtime/class_linker.h
index 75fbdf3..4ebce3e 100644
--- a/runtime/class_linker.h
+++ b/runtime/class_linker.h
@@ -661,16 +661,16 @@
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;
};