[Top][All Lists]

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

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

From: zou lunkai
Subject: Re: [Gnash-commit] gnash ChangeLog server/sprite_instance.cpp
Date: Thu, 7 Jun 2007 18:34:06 +0800

On 6/7/07, strk <address@hidden> wrote:
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..

Hmm, not really, should be done in a faster way. I'll update it. Thanks!

reply via email to

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