|
Boost : |
Subject: Re: [boost] Algorithm : Error in find_iterator.hpp
From: Mateusz Loskot (mateusz_at_[hidden])
Date: 2012-11-28 06:25:04
Boost has the Trac site where bugs and patches should be submitted.
-- Mateusz Loskot, http://mateusz.loskot.net (Sent from mobile, apology for top-posting or broken quotes) On Nov 28, 2012 11:21 AM, "GAURAV GUPTA" <ya1gaurav_at_[hidden]> wrote: > Hello, > > I have encountered some errors in Boost, while running some static analyzer > tool. > > It is reported in boost/algorithm/string/find_iterator.hpp > > The error is: > > *boost::date_time::time_duration has user-written copy constructor but no > corresponding user-written assignment operator.* > > *Is it valid to apply the following patch.* > > diff -Naur a/boost/algorithm/string/find_iterator.hpp > b/boost/algorithm/string/find_iterator.hpp > --- a/boost/algorithm/string/find_iterator.hpp 2011-01-11 > 01:06:38.000000000 +0530 > +++ b/boost/algorithm/string/find_iterator.hpp 2012-11-26 > 18:19:39.000000000 +0530 > @@ -119,6 +119,9 @@ > > increment(); > } > + private: > + find_iterator & operator=( const find_iterator& Other ); > + > > private: > // iterator operations > @@ -288,6 +291,8 @@ > increment(); > } > } > + private: > + split_iterator & operator=( const split_iterator& Other ); > > private: > > > > -- > Regards, > Gaurav > > _______________________________________________ > Unsubscribe & other changes: > http://lists.boost.org/mailman/listinfo.cgi/boost >
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk