diff options
author | gengjiawen <technicalcute@gmail.com> | 2019-03-02 16:49:16 +0300 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2019-03-07 06:40:38 +0300 |
commit | d08a574d7e7321b765e42b3f5f5bec47cb960ac0 (patch) | |
tree | fc41f14b026dc457609f3cee694fb3df58505092 /src/node_report.cc | |
parent | f25c5ad34498b8f7e14e875b7d5a6d9072f4b879 (diff) |
src: make parameter name const reference in method TriggerNodeReport
PR-URL: https://github.com/nodejs/node/pull/26397
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'src/node_report.cc')
-rw-r--r-- | src/node_report.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_report.cc b/src/node_report.cc index bc54f90d3e7..9d676b2d7ad 100644 --- a/src/node_report.cc +++ b/src/node_report.cc @@ -99,7 +99,7 @@ std::string TriggerNodeReport(Isolate* isolate, Environment* env, const char* message, const char* trigger, - std::string name, + const std::string& name, Local<String> stackstr) { std::ostringstream oss; std::string filename; |