Skip to content

Commit

Permalink
src: make operator napi_callback_info explicit
Browse files Browse the repository at this point in the history
PR-URL: #1275
Reviewed-By: JckXia <ys3xia@uwaterloo.ca>
Reviewed-By: Michael Dawson <midawson@redhat.com
  • Loading branch information
KevinEady authored and mhdawson committed Jan 27, 2023
1 parent 78b5a15 commit 53f7cf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion napi.h
Original file line number Diff line number Diff line change
Expand Up @@ -1794,7 +1794,7 @@ class CallbackInfo {
Value This() const;
void* Data() const;
void SetData(void* data);
operator napi_callback_info() const;
explicit operator napi_callback_info() const;

private:
const size_t _staticArgCount = 6;
Expand Down

0 comments on commit 53f7cf1

Please sign in to comment.