summaryrefslogtreecommitdiff
path: root/runtime/reflective_handle.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/reflective_handle.h')
-rw-r--r--runtime/reflective_handle.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/runtime/reflective_handle.h b/runtime/reflective_handle.h
index 014d976025..c2dbf535b7 100644
--- a/runtime/reflective_handle.h
+++ b/runtime/reflective_handle.h
@@ -81,14 +81,12 @@ class MutableReflectiveHandle : public ReflectiveHandle<T> {
public:
MutableReflectiveHandle() {}
- ALWAYS_INLINE MutableReflectiveHandle(const MutableReflectiveHandle<T>& handle)
- REQUIRES_SHARED(Locks::mutator_lock_) = default;
+ ALWAYS_INLINE MutableReflectiveHandle(const MutableReflectiveHandle<T>& handle) = default;
ALWAYS_INLINE MutableReflectiveHandle<T>& operator=(const MutableReflectiveHandle<T>& handle)
- REQUIRES_SHARED(Locks::mutator_lock_) = default;
+ = default;
ALWAYS_INLINE explicit MutableReflectiveHandle(ReflectiveReference<T>* reference)
- REQUIRES_SHARED(Locks::mutator_lock_)
: ReflectiveHandle<T>(reference) {}
ALWAYS_INLINE T* Assign(T* reference) REQUIRES_SHARED(Locks::mutator_lock_) {