Refactored unexposed template paramter parsing

This commit is contained in:
Bartek Kryza
2022-03-13 12:11:55 +01:00
parent 8ad4c4f5dc
commit 98a118db1d
6 changed files with 66 additions and 54 deletions

View File

@@ -345,7 +345,7 @@ parse_unexposed_template_params(const std::string &params)
else {
type += *it;
}
if(complete_class_template) {
if (complete_class_template) {
class_template t;
t.set_type(clanguml::util::trim(type));
type = "";
@@ -357,7 +357,7 @@ parse_unexposed_template_params(const std::string &params)
it++;
}
if(!type.empty()) {
if (!type.empty()) {
class_template t;
t.set_type(clanguml::util::trim(type));
type = "";