File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -289,7 +289,7 @@ Deletable* MainThreadInterface::GetObjectIfExists(int id) {
289
289
return iterator->second .get ();
290
290
}
291
291
292
- std::unique_ptr<StringBuffer> Utf8ToStringView (const std::string& message) {
292
+ std::unique_ptr<StringBuffer> Utf8ToStringView (const std::string_view message) {
293
293
size_t expected_u16_length =
294
294
simdutf::utf16_length_from_utf8 (message.data (), message.length ());
295
295
MaybeStackBuffer<char16_t > buffer (expected_u16_length);
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ class Deletable {
34
34
};
35
35
36
36
std::unique_ptr<v8_inspector::StringBuffer> Utf8ToStringView (
37
- const std::string& message);
37
+ const std::string_view message);
38
38
39
39
using MessageQueue = std::deque<std::unique_ptr<Request>>;
40
40
You can’t perform that action at this time.
0 commit comments