diff options
Diffstat (limited to 'runtime/scoped_thread_state_change.h')
-rw-r--r-- | runtime/scoped_thread_state_change.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/scoped_thread_state_change.h b/runtime/scoped_thread_state_change.h index 24199f76b6..a3286ac3d4 100644 --- a/runtime/scoped_thread_state_change.h +++ b/runtime/scoped_thread_state_change.h @@ -27,7 +27,7 @@ namespace art { struct JNIEnvExt; -template<class MirrorType, bool kPoison> class ObjPtr; +template<class MirrorType> class ObjPtr; // Scoped change into and out of a particular state. Handles Runnable transitions that require // more complicated suspension checking. The subclasses ScopedObjectAccessUnchecked and @@ -91,8 +91,8 @@ class ScopedObjectAccessAlreadyRunnable : public ValueObject { T AddLocalReference(ObjPtr<mirror::Object> obj) const REQUIRES_SHARED(Locks::mutator_lock_); - template<typename T, bool kPoison = kIsDebugBuild> - ObjPtr<T, kPoison> Decode(jobject obj) const REQUIRES_SHARED(Locks::mutator_lock_); + template<typename T> + ObjPtr<T> Decode(jobject obj) const REQUIRES_SHARED(Locks::mutator_lock_); ALWAYS_INLINE bool IsRunnable() const; |