diff options
Diffstat (limited to 'deps/v8/src/handles.h')
-rw-r--r-- | deps/v8/src/handles.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/deps/v8/src/handles.h b/deps/v8/src/handles.h index 3afda94208..21c2f1987b 100644 --- a/deps/v8/src/handles.h +++ b/deps/v8/src/handles.h @@ -125,7 +125,7 @@ class Handle final : public HandleBase { template <typename S> static const Handle<T> cast(Handle<S> that) { - T::cast(*reinterpret_cast<T**>(that.location_)); + T::cast(*reinterpret_cast<T**>(that.location())); return Handle<T>(reinterpret_cast<T**>(that.location_)); } @@ -185,7 +185,6 @@ template <typename T> class MaybeHandle final { public: V8_INLINE MaybeHandle() {} - V8_INLINE ~MaybeHandle() {} // Constructor for handling automatic up casting from Handle. // Ex. Handle<JSArray> can be passed when MaybeHandle<Object> is expected. |