Skip to content

Commit

Permalink
I should have compiled before pushing
Browse files Browse the repository at this point in the history
  • Loading branch information
tniessen committed Jan 26, 2020
1 parent 13495eb commit 8d7c515
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions napi-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -1416,9 +1416,9 @@ inline size_t ArrayBuffer::ByteLength() {
}

#ifdef NAPI_EXPERIMENTAL
inline bool ArrayBuffer::IsDetached() {
inline bool ArrayBuffer::IsDetached() const {
bool detached;
napi_status status = napi_is_detached_arraybuffer(_env, _value, &result);
napi_status status = napi_is_detached_arraybuffer(_env, _value, &detached);
NAPI_THROW_IF_FAILED(_env, status, false);
return detached;
}
Expand Down

0 comments on commit 8d7c515

Please sign in to comment.