ConfigData: use std::string for config_param::value
This commit is contained in:
@@ -113,7 +113,7 @@ main(int argc, char **argv)
|
||||
const struct config_param *path = config_get_param(CONF_DB_FILE);
|
||||
config_param param("database", path->line);
|
||||
if (path != nullptr)
|
||||
param.AddBlockParam("path", path->value, path->line);
|
||||
param.AddBlockParam("path", path->value.c_str(), path->line);
|
||||
|
||||
Database *db = plugin->create(param, error);
|
||||
|
||||
|
Reference in New Issue
Block a user