mirror of
https://github.com/nasa/trick.git
synced 2025-01-18 10:46:26 +00:00
Merge pull request #984 from nasa/983
Replace : in ConstructValues::mangle_template_param
This commit is contained in:
commit
a181e92960
@ -70,6 +70,7 @@ static void mangle_template_param(std::string &work_string, const std::string &
|
||||
std::replace( work_string.begin(), work_string.end(), '*', '_') ;
|
||||
std::replace( work_string.begin(), work_string.end(), '[', '_') ;
|
||||
std::replace( work_string.begin(), work_string.end(), ']', '_') ;
|
||||
std::replace( work_string.begin(), work_string.end(), ':', '_') ;
|
||||
work_string.erase(std::remove_if(work_string.begin(), work_string.end(),
|
||||
(int(*)(int))std::isspace), work_string.end()) ;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user