File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 1212#include < unordered_map>
1313#endif // DEBUG
1414
15- namespace node {
16- namespace debug {
15+ namespace node ::debug {
1716
1817#ifdef DEBUG
1918using v8::Context;
@@ -41,7 +40,7 @@ void GetV8FastApiCallCount(const FunctionCallbackInfo<Value>& args) {
4140 return ;
4241 }
4342 Utf8Value utf8_key (env->isolate (), args[0 ]);
44- args.GetReturnValue ().Set (GetV8FastApiCallCount (utf8_key.ToString ()));
43+ args.GetReturnValue ().Set (GetV8FastApiCallCount (utf8_key.ToStringView ()));
4544}
4645
4746void SlowIsEven (const FunctionCallbackInfo<Value>& args) {
@@ -93,8 +92,7 @@ void Initialize(Local<Object> target,
9392}
9493#endif // DEBUG
9594
96- } // namespace debug
97- } // namespace node
95+ } // namespace node::debug
9896
9997#ifdef DEBUG
10098NODE_BINDING_CONTEXT_AWARE_INTERNAL (debug, node::debug::Initialize)
You can’t perform that action at this time.
0 commit comments