ConfigData: use std::string in block_param

This commit is contained in:
Max Kellermann
2013-01-30 22:09:25 +01:00
parent 3cdd01aa1b
commit 2d63c26936
3 changed files with 11 additions and 15 deletions

View File

@@ -79,7 +79,7 @@ config_param_check(gpointer data, G_GNUC_UNUSED gpointer user_data)
for (const auto &i : param->block_params) {
if (!i.used)
g_warning("option '%s' on line %i was not recognized",
i.name, i.line);
i.name.c_str(), i.line);
}
}