fix clang 10 compatibility
- random_shuffle is replaced by shuffle - get rid of EO stuff in eoPop, superseeded by stdlib random - get rid of bind2nd and use lambdas
This commit is contained in:
parent
949b5818a2
commit
18fec047ad
5 changed files with 15 additions and 9 deletions
|
|
@ -114,7 +114,8 @@ public:
|
|||
{
|
||||
resize(bits.size());
|
||||
std::transform(bits.begin(), bits.end(), begin(),
|
||||
std::bind2nd(std::equal_to<char>(), '1'));
|
||||
//std::bind2nd(std::equal_to<char>(), '1'));
|
||||
[](char bit){return bit == '1';} );
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue