[mod_v8] SayPhrase: Coverity 1546153 COPY_INSTEAD_OF_MOVE

This commit is contained in:
Andrey Volk 2024-06-09 13:13:43 +03:00
parent 85397f1ba5
commit 3c47eadd28
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}