remove deprecated std::ptr_fun and std::not1 closes #864

This commit is contained in:
Scott Fennell
2019-09-23 14:25:27 -05:00
parent 238b376b14
commit f10e4e8d93
5 changed files with 30 additions and 30 deletions

View File

@ -348,8 +348,8 @@ bool CXXRecordVisitor::isPrivateEmbeddedClass( std::string in_name ) {
in_name.erase(in_name.find_first_of("[*")) ;
}
// remove trailing spaces
in_name.erase(std::find_if(in_name.rbegin(), in_name.rend(),
std::not1(std::ptr_fun<int, int>(std::isspace))).base(), in_name.end());
in_name.erase(std::find_if(in_name.rbegin(), in_name.rend(),
[](int c) {return !std::isspace(c);}).base(), in_name.end());
// remove all template arguments "<text>"
bool template_arg_found ;