performance improvements
+ use const-reference as argument to avoid tmp. copy + use prefix incremation operator instead of postfix increment operator
This commit is contained in:
@@ -61,7 +61,7 @@ class TechDrawExport GeometryObject
|
||||
{
|
||||
public:
|
||||
/// Constructor
|
||||
GeometryObject(std::string parent);
|
||||
GeometryObject(const std::string& parent);
|
||||
virtual ~GeometryObject();
|
||||
|
||||
void clear();
|
||||
|
||||
Reference in New Issue
Block a user