Skip to content

Commit e47480b

Browse files
committed
used ToStringView
1 parent 0c41b5c commit e47480b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node_sqlite.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -767,7 +767,7 @@ Intercepted DatabaseSyncLimits::LimitsSetter(
767767
Isolate* isolate = env->isolate();
768768

769769
Utf8Value prop_name(isolate, property);
770-
const LimitInfo* limit_info = GetLimitInfoFromName(*prop_name);
770+
const LimitInfo* limit_info = GetLimitInfoFromName(prop_name.ToStringView());
771771

772772
if (limit_info == nullptr) {
773773
return Intercepted::kNo;

0 commit comments

Comments
 (0)