From 7a727daa9131025ebbcfc880bb307be1dd9fb93f Mon Sep 17 00:00:00 2001 From: Dylan Thacker-Smith Date: Tue, 11 Jan 2022 15:58:11 -0500 Subject: [PATCH] Make ExceptionError static, since it isn't used outside that file --- v8go.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/v8go.cc b/v8go.cc index cfab1481..7284c0c3 100644 --- a/v8go.cc +++ b/v8go.cc @@ -61,7 +61,9 @@ const char* CopyString(String::Utf8Value& value) { return CopyString(*value); } -RtnError ExceptionError(TryCatch& try_catch, Isolate* iso, Local ctx) { +static RtnError ExceptionError(TryCatch& try_catch, + Isolate* iso, + Local ctx) { HandleScope handle_scope(iso); RtnError rtn = {nullptr, nullptr, nullptr};