Mercurial > hg > svcore
diff data/model/Model.h @ 1065:0fd3661bcfff tonioni
clone() is never used (therefore presumably never works either)
author | Chris Cannam |
---|---|
date | Tue, 31 Mar 2015 12:12:31 +0100 |
parents | 57633d605547 |
children | 882d448c8a6d |
line wrap: on
line diff
--- a/data/model/Model.h Tue Mar 31 11:54:57 2015 +0100 +++ b/data/model/Model.h Tue Mar 31 12:12:31 2015 +0100 @@ -93,22 +93,6 @@ virtual QString getTypeName() const = 0; /** - * Return a copy of this model. - * - * If the model is not editable, this may be effectively a shallow - * copy. If the model is editable, however, this operation must - * properly copy all of the model's editable data. - * - * In general this operation is not useful for non-editable dense - * models such as waveforms, because there may be no efficient - * copy operation implemented -- for such models it is better not - * to copy at all. - * - * Caller owns the returned value. - */ - virtual Model *clone() const = 0; - - /** * Mark the model as abandoning. This means that the application * no longer needs it, so it can stop doing any background * calculations it may be involved in. Note that as far as the