csv.input - remove redundant trim_copy

This commit is contained in:
artemp 2015-10-06 10:00:42 +01:00
parent c127620b6c
commit 2c8ad910d7

View file

@ -202,9 +202,8 @@ void csv_datasource::parse_csv(T & stream)
auto headers = csv_utils::parse_line(manual_headers_, separator_, quote_);
for (auto const& header : headers)
{
std::string val = mapnik::util::trim_copy(header);
detail::locate_geometry_column(val, index++, locator_);
headers_.push_back(val);
detail::locate_geometry_column(header, index++, locator_);
headers_.push_back(header);
}
}
else // parse first line as headers