We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 133d287 commit d7d8e8eCopy full SHA for d7d8e8e
src/node_buffer.cc
@@ -1528,11 +1528,11 @@ uint32_t FastWriteString(Local<Value> receiver,
1528
std::min<uint32_t>(dst.length() - offset, max_length));
1529
}
1530
1531
-static v8::CFunction fast_write_string_ascii(
+static const v8::CFunction fast_write_string_ascii(
1532
v8::CFunction::Make(FastWriteString<ASCII>));
1533
-static v8::CFunction fast_write_string_latin1(
+static const v8::CFunction fast_write_string_latin1(
1534
v8::CFunction::Make(FastWriteString<LATIN1>));
1535
-static v8::CFunction fast_write_string_utf8(
+static const v8::CFunction fast_write_string_utf8(
1536
v8::CFunction::Make(FastWriteString<UTF8>));
1537
1538
void Initialize(Local<Object> target,
0 commit comments