Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
NormVecDecorator: declare deleted copy constructor and assignment ope…
…rators as the class has pointer member variables
  • Loading branch information
rouault committed May 29, 2020
1 parent f519dac commit 2a6cd81
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/analysis/interpolation/NormVecDecorator.h
Expand Up @@ -80,6 +80,10 @@ class ANALYSIS_EXPORT NormVecDecorator: public TriDecorator
QVector<PointState> *mPointState;
//! Sets the state (BreakLine, Normal, EndPoint) of a point
void setState( int pointno, PointState s );

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

#ifndef SIP_RUN
Expand Down

0 comments on commit 2a6cd81

Please sign in to comment.