diff base/Clipboard.cpp @ 1612:23a29e5dc0e9 single-point

Start implementing & testing PointSeries
author Chris Cannam
date Wed, 06 Mar 2019 16:24:23 +0000
parents b2f32c554199
children 24dc8cb42755
line wrap: on
line diff
--- a/base/Clipboard.cpp	Tue Mar 05 15:15:11 2019 +0000
+++ b/base/Clipboard.cpp	Wed Mar 06 16:24:23 2019 +0000
@@ -30,14 +30,14 @@
     return m_points.empty();
 }
 
-const Clipboard::PointList &
+const PointVector &
 Clipboard::getPoints() const
 {
     return m_points;
 }
 
 void
-Clipboard::setPoints(const PointList &pl)
+Clipboard::setPoints(const PointVector &pl)
 {
     m_points = pl;
 }
@@ -51,7 +51,7 @@
 bool
 Clipboard::haveReferenceFrames() const
 {
-    for (PointList::const_iterator i = m_points.begin();
+    for (PointVector::const_iterator i = m_points.begin();
          i != m_points.end(); ++i) {
         if (i->haveReferenceFrame()) return true;
     } 
@@ -61,7 +61,7 @@
 bool
 Clipboard::referenceFramesDiffer() const
 {
-    for (PointList::const_iterator i = m_points.begin();
+    for (PointVector::const_iterator i = m_points.begin();
          i != m_points.end(); ++i) {
         if (i->referenceFrameDiffers()) return true;
     }