Sketcher: Fix 512328 Use of auto that causes a copy
This commit is contained in:
@@ -426,7 +426,7 @@ const std::map<std::string,std::string> SketchObject::getInternalElementMap() co
|
||||
if (!internalElementMap.empty() || !MakeInternals.getValue())
|
||||
return internalElementMap;
|
||||
|
||||
auto internalShape = InternalShape.getShape();
|
||||
const auto& internalShape = InternalShape.getShape();
|
||||
auto shape = Shape.getShape().located(TopLoc_Location());
|
||||
if (!internalShape.isNull() && !shape.isNull()) {
|
||||
std::vector<std::string> names;
|
||||
|
||||
Reference in New Issue
Block a user