From: Andrei Zavada <johnhom...@gmail.com> --- libMems/Aligner.cpp | 2 +- libMems/Aligner.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libMems/Aligner.cpp b/libMems/Aligner.cpp index 2fa6ee2..d3928e4 100644 --- a/libMems/Aligner.cpp +++ b/libMems/Aligner.cpp @@ -939,7 +939,7 @@ public: MatchLeftEndComparator( unsigned seq = 0 ){ m_seq = seq; } - MatchLeftEndComparator( MatchLeftEndComparator& msc ){ + MatchLeftEndComparator( const MatchLeftEndComparator& msc ){ m_seq = msc.m_seq; } // TODO?? make this do a wraparound comparison if all is equal? diff --git a/libMems/Aligner.h b/libMems/Aligner.h index a4e2377..476c127 100644 --- a/libMems/Aligner.h +++ b/libMems/Aligner.h @@ -49,7 +49,7 @@ public: LabeledMemComparator( uint seq ){ m_seq = seq; } - LabeledMemComparator( LabeledMemComparator& lmc ){ + LabeledMemComparator( const LabeledMemComparator& lmc ){ m_seq = lmc.m_seq; } boolean operator()(const LabeledMem& a, const LabeledMem& b) const{ -- 2.3.5 -- To UNSUBSCRIBE, email to debian-med-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/1429390037-29131-2-git-send-email-andrei.zavada....@gmail.com