Skip to content

Commit c303c98

Browse files
authored
Merge pull request #2551 from signalwire/v8_move
[mod_v8] SayPhrase: Coverity 1546153 COPY_INSTEAD_OF_MOVE
2 parents 85397f1 + 3c47ead commit c303c98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mod/languages/mod_v8/src/fssession.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ JS_SESSION_FUNCTION_IMPL(SayPhrase)
671671
String::Utf8Value str(info[2]);
672672
tmp = js_safe_str(*str);
673673
if (!zstr(tmp.c_str())) {
674-
phrase_lang = tmp;
674+
phrase_lang = std::move(tmp);
675675
}
676676
}
677677

0 commit comments

Comments
 (0)