Skip to content

Commit

Permalink
DxfLayerJob: declare deleted copy constructor and assignment operator…
Browse files Browse the repository at this point in the history
…s as the class has pointer member variables
  • Loading branch information
rouault committed May 29, 2020
1 parent a71f593 commit 08dc1eb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/dxf/qgsdxfexport_p.h
Expand Up @@ -103,6 +103,10 @@ struct DxfLayerJob
QString splitLayerAttribute;
QString layerTitle;
QSet<QString> attributes;

private:
DxfLayerJob( const DxfLayerJob & ) = delete;
DxfLayerJob &operator=( const DxfLayerJob & ) = delete;
};

// dxf color palette
Expand Down

0 comments on commit 08dc1eb

Please sign in to comment.