From 273c977f66d15a2f8301caf4eab1b7e07036e21c Mon Sep 17 00:00:00 2001 From: Stinkfist0 Date: Tue, 23 May 2017 19:43:43 +0300 Subject: [PATCH] Remove extraneous spaces in geom filter description prints. --- src/ifcgeom/IfcGeomFilter.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ifcgeom/IfcGeomFilter.h b/src/ifcgeom/IfcGeomFilter.h index c54fb0fb7d..5123f2e8aa 100644 --- a/src/ifcgeom/IfcGeomFilter.h +++ b/src/ifcgeom/IfcGeomFilter.h @@ -182,7 +182,7 @@ namespace IfcGeom ss << (traverse ? "traverse " : "") << (include ? "include" : "exclude"); std::vector patterns; 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) { @@ -239,7 +239,7 @@ namespace IfcGeom foreach(const boost::regex& r, values) { str_values.push_back(" \"" + r.str() + "\""); } - ss << " " << boost::algorithm::join(str_values, " "); + ss << boost::algorithm::join(str_values, " "); description = ss.str(); } };