From 69e8f4221c14c2b822269b81d424b23041820bf7 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 4 May 2011 15:51:30 +0000 Subject: Disallow Marker copy construction. git-svn-id: svn://localhost/ardour2/branches/3.0@9477 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/marker.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gtk2_ardour/marker.h') diff --git a/gtk2_ardour/marker.h b/gtk2_ardour/marker.h index ea01856565..aa4888fe20 100644 --- a/gtk2_ardour/marker.h +++ b/gtk2_ardour/marker.h @@ -125,6 +125,11 @@ class Marker : public sigc::trackable void reposition (); void setup_line_x (); void setup_name_display (); + +private: + /* disallow copy construction */ + Marker (Marker const &); + Marker & operator= (Marker const &); }; class TempoMarker : public Marker -- cgit v1.2.3