mirror of
https://github.com/rbock/sqlpp11.git
synced 2025-12-17 18:44:37 -06:00
Fix compile warning (shadowed variable)
This commit is contained in:
committed by
Roland Bock
parent
38e9c7efd4
commit
6180ee5e49
@@ -35,7 +35,7 @@ namespace sqlpp
|
||||
{
|
||||
struct connection_config
|
||||
{
|
||||
connection_config() : path_to_database{}, flags{0}, vfs{}, debug{false},password{}
|
||||
connection_config() : path_to_database{}, flags{0}, vfs{}, debug{false}, password{}
|
||||
{
|
||||
}
|
||||
connection_config(const connection_config&) = default;
|
||||
@@ -43,8 +43,8 @@ namespace sqlpp
|
||||
connection_config& operator=(const connection_config&) = default;
|
||||
connection_config& operator=(connection_config&&) = default;
|
||||
|
||||
connection_config(std::string path, int fl = 0, std::string vf = "", bool dbg = false,std::string password="")
|
||||
: path_to_database{std::move(path)}, flags{fl}, vfs{std::move(vf)}, debug{dbg},password{password}
|
||||
connection_config(std::string path, int fl = 0, std::string vf = "", bool dbg = false, std::string db_password="")
|
||||
: path_to_database{std::move(path)}, flags{fl}, vfs{std::move(vf)}, debug{dbg}, password{db_password}
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user