changeset 170:1af39ce8d44b structure

Fixes to copy ctor, operator= -- but these shouldn't be necessary, should restructure
author Chris Cannam
date Fri, 06 Feb 2015 11:46:23 +0000
parents 70636e3c5a46
children bb4507f24dc9
files src/MatchFeatureFeeder.cpp
diffstat 1 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/MatchFeatureFeeder.cpp	Thu Feb 05 15:14:22 2015 +0000
+++ b/src/MatchFeatureFeeder.cpp	Fri Feb 06 11:46:23 2015 +0000
@@ -32,7 +32,11 @@
 MatchFeatureFeeder::MatchFeatureFeeder(const MatchFeatureFeeder &other) :
     m_pm1(other.m_pm1),
     m_pm2(other.m_pm2),
-    m_finder(m_pm1)
+    m_finder(m_pm1),
+    m_q1(other.m_q1),
+    m_q2(other.m_q2),
+    m_fpx(other.m_fpx),
+    m_fpy(other.m_fpy)
 {
 }
 
@@ -42,6 +46,10 @@
     m_pm1 = other.m_pm1;
     m_pm2 = other.m_pm2;
     m_finder = Finder(m_pm1);
+    m_q1 = other.m_q1;
+    m_q2 = other.m_q2;
+    m_fpx = other.m_fpx;
+    m_fpy = other.m_fpy;
     cerr << "MatchFeatureFeeder::operator=(): queue lengths: " << m_q1.size()
          << ", " << m_q2.size() << endl;
     return *this;