mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-09 09:17:34 +00:00
[mod_mariadb] Coverity 1546237 COPY_INSTEAD_OF_MOVE
This commit is contained in:
parent
c1354fd73b
commit
844cce8595
@ -81,7 +81,7 @@ public:
|
|||||||
std::string value = pair[1];
|
std::string value = pair[1];
|
||||||
|
|
||||||
if ("server" == key || "host" == key) {
|
if ("server" == key || "host" == key) {
|
||||||
_host = value;
|
_host = std::move(value);
|
||||||
} else if ("uid" == key || "user" == key || "username" == key) {
|
} else if ("uid" == key || "user" == key || "username" == key) {
|
||||||
_user = std::move(value);
|
_user = std::move(value);
|
||||||
} else if ("pwd" == key || "passwd" == key || "password" == key) {
|
} else if ("pwd" == key || "passwd" == key || "password" == key) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user