mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
rose_build_convert: replace bind2nd with lambda
std::bind2nd was deprecated in C++11.
This commit is contained in:
parent
21a4c8d4e2
commit
cdb281df42
@ -84,7 +84,7 @@ size_t suffixFloodLen(const ue2_literal &s) {
|
||||
|
||||
const ue2_literal::elem &c = s.back();
|
||||
auto it = find_if(s.rbegin(), s.rend(),
|
||||
bind2nd(not_equal_to<ue2_literal::elem>(), c));
|
||||
[&c](const ue2_literal::elem &e) { return e != c; });
|
||||
return distance(s.rbegin(), it);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user