Skip to content

Commit 8d7c515

Browse files
committed
I should have compiled before pushing
1 parent 13495eb commit 8d7c515

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

napi-inl.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1416,9 +1416,9 @@ inline size_t ArrayBuffer::ByteLength() {
14161416
}
14171417

14181418
#ifdef NAPI_EXPERIMENTAL
1419-
inline bool ArrayBuffer::IsDetached() {
1419+
inline bool ArrayBuffer::IsDetached() const {
14201420
bool detached;
1421-
napi_status status = napi_is_detached_arraybuffer(_env, _value, &result);
1421+
napi_status status = napi_is_detached_arraybuffer(_env, _value, &detached);
14221422
NAPI_THROW_IF_FAILED(_env, status, false);
14231423
return detached;
14241424
}

0 commit comments

Comments
 (0)