gnash-commit
[Top][All Lists]
Advanced

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

Re: [Gnash-commit] gnash ChangeLog backend/render_handler_ogl.cpp


From: strk
Subject: Re: [Gnash-commit] gnash ChangeLog backend/render_handler_ogl.cpp
Date: Wed, 28 Nov 2007 23:36:17 +0100

On Wed, Nov 28, 2007 at 10:27:47PM +0000, Markus Gothe wrote:

>      // Call add_paths for each mask.
>      std::for_each(_masks.begin(), _masks.end(),
> -      boost::bind(&render_handler_ogl::add_paths, boost::ref(this), _1));    
> +      boost::bind(&render_handler_ogl::add_paths, boost::ref(*this), _1));   
>  

What about this:

         boost::bind(&render_handler_ogl::add_paths, this, _1));    
 
"this" is a pointer anyway, why getting the reference after dereferencing it ?

--strk;




reply via email to

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