Fix potential iterator out of range condition by using appropriate function (ref #4218) via @mathisloge
``` template< class InputIt1, class InputIt2, class BinaryPredicate > bool equal( InputIt1 first1, InputIt1 last1, InputIt2 first2, InputIt2 last2, BinaryPredicate p ); ```
This commit is contained in:
parent
74c79eb17c
commit
f093d0cf6e
1 changed files with 1 additions and 1 deletions
|
@ -233,7 +233,7 @@ struct ignore_case_equal_pred
|
|||
bool ignore_case_equal(std::string const& s0, std::string const& s1)
|
||||
{
|
||||
return std::equal(s0.begin(), s0.end(),
|
||||
s1.begin(), ignore_case_equal_pred());
|
||||
s1.begin(), s1.end(), ignore_case_equal_pred());
|
||||
}
|
||||
|
||||
void csv_file_parser::add_feature(mapnik::value_integer, mapnik::csv_line const & )
|
||||
|
|
Loading…
Reference in a new issue