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 8f3537f commit 4570fa1Copy full SHA for 4570fa1
src/node_url.cc
@@ -1007,7 +1007,7 @@ static inline void Copy(Environment* env,
1007
}
1008
1009
static inline Local<Array> Copy(Environment* env,
1010
- std::vector<std::string> vec) {
+ const std::vector<std::string>& vec) {
1011
Isolate* isolate = env->isolate();
1012
Local<Array> ary = Array::New(isolate, vec.size());
1013
for (size_t n = 0; n < vec.size(); n++)
0 commit comments