Skip to content

Commit

Permalink
Remove default parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
JckXia committed Jul 2, 2021
1 parent c6946d7 commit 923e282
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 @@ -542,7 +542,7 @@ namespace Napi {
static Symbol For(napi_env env, const std::string& description);

// Create a symbol in the global registry, C style string (null terminated)
static Symbol For(napi_env env, const char* description = nullptr);
static Symbol For(napi_env env, const char* description);

// Create a symbol in the global registry, String value describing the symbol
static Symbol For(napi_env env, String description);
Expand Down

0 comments on commit 923e282

Please sign in to comment.