Skip to content

Commit

Permalink
Make ExceptionError static, since it isn't used outside that file
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanahsmith committed Jan 11, 2022
1 parent a1f0d99 commit d66c202
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v8go.cc
Expand Up @@ -61,7 +61,7 @@ const char* CopyString(String::Utf8Value& value) {
return CopyString(*value);
}

RtnError ExceptionError(TryCatch& try_catch, Isolate* iso, Local<Context> ctx) {
static RtnError ExceptionError(TryCatch& try_catch, Isolate* iso, Local<Context> ctx) {
HandleScope handle_scope(iso);

RtnError rtn = {nullptr, nullptr, nullptr};
Expand Down

0 comments on commit d66c202

Please sign in to comment.