We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c1354fd + 844cce8 commit 060621eCopy full SHA for 060621e
src/mod/databases/mod_mariadb/mariadb_dsn.cpp
@@ -81,7 +81,7 @@ class mariadb_dsn {
81
std::string value = pair[1];
82
83
if ("server" == key || "host" == key) {
84
- _host = value;
+ _host = std::move(value);
85
} else if ("uid" == key || "user" == key || "username" == key) {
86
_user = std::move(value);
87
} else if ("pwd" == key || "passwd" == key || "password" == key) {
0 commit comments