1
0
mirror of https://github.com/signalwire/freeswitch.git synced 2025-04-18 01:28:42 +00:00

Merge pull request from signalwire/v8_move

[mod_v8] SayPhrase: Coverity 1546153 COPY_INSTEAD_OF_MOVE
This commit is contained in:
Andrey Volk 2024-07-30 19:10:16 +03:00 committed by GitHub
commit c303c98539
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -671,7 +671,7 @@ JS_SESSION_FUNCTION_IMPL(SayPhrase)
String::Utf8Value str(info[2]);
tmp = js_safe_str(*str);
if (!zstr(tmp.c_str())) {
phrase_lang = tmp;
phrase_lang = std::move(tmp);
}
}