From: Joel Holdsworth Date: Sat, 18 May 2013 17:15:16 +0000 (+0100) Subject: Removed TimeMarker copy constructor X-Git-Tag: pulseview-0.2.0~347 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=137ed2551534f005bf79b24bd6c95eef1be5611b;p=pulseview.git Removed TimeMarker copy constructor --- diff --git a/pv/view/timemarker.cpp b/pv/view/timemarker.cpp index ec0ab9a4..75ef4ea6 100644 --- a/pv/view/timemarker.cpp +++ b/pv/view/timemarker.cpp @@ -35,13 +35,6 @@ TimeMarker::TimeMarker(const View &view, const QColor &colour, { } -TimeMarker::TimeMarker(const TimeMarker &s) : - _view(s._view), - _colour(s._colour), - _time(s._time) -{ -} - double TimeMarker::time() const { return _time; diff --git a/pv/view/timemarker.h b/pv/view/timemarker.h index 37e10a3f..2536db75 100644 --- a/pv/view/timemarker.h +++ b/pv/view/timemarker.h @@ -48,11 +48,6 @@ protected: */ TimeMarker(const View &view, const QColor &colour, double time); - /** - * Copy constructor - */ - TimeMarker(const TimeMarker &s); - public: /** * Gets the time of the marker.