gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-commit] gnash ChangeLog server/sprite_instance.cpp


From: strk
Subject: Re: [Gnash-commit] gnash ChangeLog server/sprite_instance.cpp
Date: Thu, 7 Jun 2007 09:43:27 +0200

On Thu, Jun 07, 2007 at 07:28:24AM +0000, Zou Lunkai wrote:

> Log message:
>       avoid using possibly invalidated interators

> +     for(size_t i =0; i<original_size; i++) { it++; }

Uh ? Is that loop really needed ? With iterators you can usually
access the end using .end() or .rbegin() and twiking a bit..

--strk;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]