# HG changeset patch # User Chris Cannam # Date 1423223183 0 # Node ID 1af39ce8d44bfd58dc2ae42efb93708f79998b4b # Parent 70636e3c5a46620197516ccacb7f318fa2ed66f8 Fixes to copy ctor, operator= -- but these shouldn't be necessary, should restructure diff -r 70636e3c5a46 -r 1af39ce8d44b src/MatchFeatureFeeder.cpp --- 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;