mirror of
https://github.com/nasa/trick.git
synced 2025-06-14 13:18:21 +00:00
remove deprecated std::ptr_fun and std::not1 closes #864
This commit is contained in:
@ -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 ;
|
||||
|
Reference in New Issue
Block a user