Attempt to satisfy travis
This commit is contained in:
parent
14c44d0ea9
commit
40d9f73306
1 changed files with 2 additions and 2 deletions
|
@ -844,13 +844,13 @@ tlistbox_definition::tresolution::tresolution(const config& cfg)
|
|||
namespace implementation
|
||||
{
|
||||
|
||||
static std::vector<std::map<std::string, string_map>> parse_list_data(const config& data, unsigned int req_cols)
|
||||
static std::vector<std::map<std::string, string_map>> parse_list_data(const config& data, const int req_cols)
|
||||
{
|
||||
std::vector<std::map<std::string, string_map>> list_data;
|
||||
for(const auto & row : data.child_range("row"))
|
||||
{
|
||||
auto cols = row.child_range("column");
|
||||
VALIDATE(cols.size() == req_cols, _("'list_data' must have the same number of columns as the 'list_definition'."));
|
||||
VALIDATE(cols.size() == static_cast<unsigned>(req_cols), _("'list_data' must have the same number of columns as the 'list_definition'."));
|
||||
|
||||
for(const auto & c : cols)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue