@@ -54,19 +54,16 @@ void unwindsett::parse_unwindset_one_loop(std::string val)
54
54
}
55
55
}
56
56
57
- void unwindsett::parse_unwindset (const std::string &unwindset)
58
- {
59
- std::vector<std::string> unwindset_elements =
60
- split_string (unwindset, ' ,' , true , true );
61
-
62
- for (auto &element : unwindset_elements)
63
- parse_unwindset_one_loop (element);
64
- }
65
-
66
57
void unwindsett::parse_unwindset (const std::list<std::string> &unwindset)
67
58
{
68
59
for (auto &element : unwindset)
69
- parse_unwindset (element);
60
+ {
61
+ std::vector<std::string> unwindset_elements =
62
+ split_string (element, ' ,' , true , true );
63
+
64
+ for (auto &element : unwindset_elements)
65
+ parse_unwindset_one_loop (element);
66
+ }
70
67
}
71
68
72
69
optionalt<unsigned >
@@ -104,5 +101,10 @@ void unwindsett::parse_unwindset_file(const std::string &file_name)
104
101
105
102
std::stringstream buffer;
106
103
buffer << file.rdbuf ();
107
- parse_unwindset (buffer.str ());
104
+
105
+ std::vector<std::string> unwindset_elements =
106
+ split_string (buffer.str (), ' ,' , true , true );
107
+
108
+ for (auto &element : unwindset_elements)
109
+ parse_unwindset_one_loop (element);
108
110
}
0 commit comments