mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 23:36:20 +00:00
Remove extraneous spaces in geom filter description prints.
This commit is contained in:
committed by
Thomas Krijnen
parent
0adcb9ae20
commit
273c977f66
@@ -182,7 +182,7 @@ namespace IfcGeom
|
|||||||
ss << (traverse ? "traverse " : "") << (include ? "include" : "exclude");
|
ss << (traverse ? "traverse " : "") << (include ? "include" : "exclude");
|
||||||
std::vector<std::string> patterns;
|
std::vector<std::string> patterns;
|
||||||
foreach(const boost::regex& r, values) {
|
foreach(const boost::regex& r, values) {
|
||||||
patterns.push_back(" \"" + r.str() + "\"");
|
patterns.push_back("\"" + r.str() + "\"");
|
||||||
}
|
}
|
||||||
|
|
||||||
for (arg_map_t::const_iterator it = args.begin(); it != args.end(); ++it) {
|
for (arg_map_t::const_iterator it = args.begin(); it != args.end(); ++it) {
|
||||||
@@ -239,7 +239,7 @@ namespace IfcGeom
|
|||||||
foreach(const boost::regex& r, values) {
|
foreach(const boost::regex& r, values) {
|
||||||
str_values.push_back(" \"" + r.str() + "\"");
|
str_values.push_back(" \"" + r.str() + "\"");
|
||||||
}
|
}
|
||||||
ss << " " << boost::algorithm::join(str_values, " ");
|
ss << boost::algorithm::join(str_values, " ");
|
||||||
description = ss.str();
|
description = ss.str();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user