diff options
Diffstat (limited to 'src/interp/interp-inl.h')
-rw-r--r-- | src/interp/interp-inl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interp/interp-inl.h b/src/interp/interp-inl.h index fbec1014..9cab1fa9 100644 --- a/src/interp/interp-inl.h +++ b/src/interp/interp-inl.h @@ -297,7 +297,7 @@ RefPtr<U> RefPtr<T>::As() { template <typename T> bool RefPtr<T>::empty() const { - return obj_ != nullptr; + return obj_ == nullptr; } template <typename T> |