diff data/model/Model.h @ 1761:ee7fd2c01d87 by-id

Work on management of alignment-related models
author Chris Cannam
date Fri, 12 Jul 2019 13:57:42 +0100
parents 8529763e2258
children aa0b56d72f27
line wrap: on
line diff
--- a/data/model/Model.h	Mon Jul 08 10:08:08 2019 +0100
+++ b/data/model/Model.h	Fri Jul 12 13:57:42 2019 +0100
@@ -200,13 +200,7 @@
     /**
      * Specify an alignment between this model's timeline and that of
      * a reference model. The alignment model, of type AlignmentModel,
-     * records both the reference and the alignment. This model "takes
-     * ownership" of alignmentModel, in that we take responsibility
-     * for calling ModelById::release() for it from our own destructor
-     * (no other class needs to know about the alignment model).
-
-     *!!! I don't think the above is a good idea - I think document
-          should record alignment models and release them
+     * records both the reference and the alignment.
      */
     virtual void setAlignment(ModelId alignmentModel);