diff data/model/SparseModel.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 c9fdd9921146
children 9fc8823a73e9
line wrap: on
line diff
--- a/data/model/SparseModel.h	Tue Mar 31 11:54:57 2015 +0100
+++ b/data/model/SparseModel.h	Tue Mar 31 12:12:31 2015 +0100
@@ -52,8 +52,6 @@
     virtual sv_frame_t getEndFrame() const;
     virtual sv_samplerate_t getSampleRate() const { return m_sampleRate; }
 
-    virtual Model *clone() const;
-
     // Number of frames of the underlying sample rate that this model
     // is capable of resolving to.  For example, if m_resolution == 10
     // then every point in this model will be at a multiple of 10
@@ -552,20 +550,6 @@
 }
 
 template <typename PointType>
-Model *
-SparseModel<PointType>::clone() const
-{
-    return 0; //!!! is this ever used?
-/*
-    SparseModel<PointType> *model =
-	new SparseModel<PointType>(m_sampleRate, m_resolution, m_notifyOnAdd);
-    model->m_points = m_points;
-    model->m_pointCount = m_pointCount;
-    return model;
-*/
-}
-
-template <typename PointType>
 bool
 SparseModel<PointType>::isEmpty() const
 {