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 504d1d7 commit 404958fCopy full SHA for 404958f
src/node_v8_platform-inl.h
@@ -130,7 +130,7 @@ struct V8Platform {
130
constexpr auto convert_to_set =
131
[](std::vector<std::string_view> categories) -> std::set<std::string> {
132
std::set<std::string> out;
133
- for (const auto s : categories) {
+ for (const auto& s : categories) {
134
out.emplace(s);
135
}
136
return out;
0 commit comments