Merge pull request #984 from nasa/983

Replace : in ConstructValues::mangle_template_param
This commit is contained in:
dbankieris 2020-04-17 10:33:17 -05:00 committed by GitHub
commit a181e92960
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()) ;
}