Replace : in ConstructValues::mangle_template_param

Closes #983
This commit is contained in:
Derek Bankieris 2020-04-17 09:48:52 -05:00
parent fd9551bb79
commit 5f8a411538

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