diff options
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; }; |