Skip to content

Commit 53f7cf1

Browse files
KevinEadymhdawson
authored andcommitted
src: make operator napi_callback_info explicit
PR-URL: #1275 Reviewed-By: JckXia <[email protected]> Reviewed-By: Michael Dawson <[email protected]
1 parent 78b5a15 commit 53f7cf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

napi.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1794,7 +1794,7 @@ class CallbackInfo {
17941794
Value This() const;
17951795
void* Data() const;
17961796
void SetData(void* data);
1797-
operator napi_callback_info() const;
1797+
explicit operator napi_callback_info() const;
17981798

17991799
private:
18001800
const size_t _staticArgCount = 6;

0 commit comments

Comments
 (0)