File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
test-app/runtime/src/main/cpp Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1984,7 +1984,7 @@ void MetadataNode::EnableProfiler(bool enableProfiler) {
19841984 s_profilerEnabled = enableProfiler;
19851985}
19861986
1987- bool MetadataNode::IsJavascriptKeyword (std::string word) {
1987+ bool MetadataNode::IsJavascriptKeyword (const std::string & word) {
19881988 static set<string> keywords;
19891989
19901990 if (keywords.empty ()) {
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ class MetadataNode {
7676
7777 MetadataNode (MetadataTreeNode* treeNode);
7878
79- static bool IsJavascriptKeyword (std::string word);
79+ static bool IsJavascriptKeyword (const std::string & word);
8080 v8::Local<v8::Object> CreatePackageObject (v8::Isolate* isolate);
8181
8282 v8::Local<v8::Function> GetConstructorFunction (v8::Isolate* isolate);
You can’t perform that action at this time.
0 commit comments