[Clam-devel] small patch

David García Garzón dgarcia at iua.upf.edu
Mon Jun 8 09:51:12 PDT 2009

Why do you need the non-pointer type? Won't this work?

	nrOfPorts += (*it)->GetPorts().size();

BTW, an efficiency bug in previous code, not using reference to containers 
implies a copy of the ports container (and warns for object aliasing).

On Monday 08 June 2009 17:58:04 dirk.griffioen wrote:
> Hi,
> A small patch usefull for deducting types embedded in pointertypes, this
> is usefull because of less template parameters when you can deduct
> something.
> D
> (PS - the previous patches are included too)

More information about the clam-devel mailing list