Skip to content

Commit

Permalink
Remove default destructors and deleted copy/move constructors from Ti…
Browse files Browse the repository at this point in the history
…meScaleDraw and NotchedMarker classes.
  • Loading branch information
przemek83 committed Jan 10, 2025
1 parent c0732ff commit c4f9655
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
8 changes: 0 additions & 8 deletions include/qwtble/BasicDataPlot.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,6 @@ public Q_SLOTS:
public:
TimeScaleDraw();

~TimeScaleDraw() override = default;

TimeScaleDraw& operator=(const TimeScaleDraw& other) = delete;
TimeScaleDraw(const TimeScaleDraw& other) = delete;

TimeScaleDraw& operator=(TimeScaleDraw&& other) = delete;
TimeScaleDraw(TimeScaleDraw&& other) = delete;

[[nodiscard]] QwtText label(double v) const override;
};

Expand Down
8 changes: 0 additions & 8 deletions include/qwtble/NotchedMarker.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,6 @@ class QWTBLE_EXPORT NotchedMarker : public QwtPlotItem
*/
explicit NotchedMarker(QVector<Quantiles> quantiles);

~NotchedMarker() override = default;

NotchedMarker& operator=(const NotchedMarker& other) = delete;
NotchedMarker(const NotchedMarker& other) = delete;

NotchedMarker& operator=(NotchedMarker&& other) = delete;
NotchedMarker(NotchedMarker&& other) = delete;

int rtti() const override;

void draw(QPainter* painter, const QwtScaleMap& xMap,
Expand Down

0 comments on commit c4f9655

Please sign in to comment.