Attempt to satisfy travis

This commit is contained in:
Charles Dang 2016-08-30 21:47:54 +11:00
parent 14c44d0ea9
commit 40d9f73306

View file

@ -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)
{