Merge pull request #2553 from signalwire/maria

[mod_mariadb] Coverity 1546237 COPY_INSTEAD_OF_MOVE
This commit is contained in:
Andrey Volk 2024-07-30 19:20:23 +03:00 committed by GitHub
commit 060621e09d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ public:
std::string value = pair[1];
if ("server" == key || "host" == key) {
_host = value;
_host = std::move(value);
} else if ("uid" == key || "user" == key || "username" == key) {
_user = std::move(value);
} else if ("pwd" == key || "passwd" == key || "password" == key) {