move construction point
authorPaul Davis <paul@linuxaudiosystems.com>
Mon, 20 Jan 2014 15:52:45 +0000 (10:52 -0500)
committerPaul Davis <paul@linuxaudiosystems.com>
Mon, 20 Jan 2014 15:52:45 +0000 (10:52 -0500)
gtk2_ardour/note.cc

index c9a60a7de93e7247277448b897c308ccee6bd416..1a77709a5894e0d67295bb3b22b2b1f1c6444707 100644 (file)
@@ -34,8 +34,8 @@ Note::Note (
        bool with_events
        )
        : NoteBase (region, with_events, note)
+       , _rectangle (new ArdourCanvas::Rectangle (group))
 {
-       _rectangle = new ArdourCanvas::Rectangle (group);
 #ifdef CANVAS_DEBUG
        _rectangle->name = "note";
 #endif