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;


_______________________________________________
Gnash-commit mailing list
Gnash-commit@gnu.org
http://lists.gnu.org/mailman/listinfo/gnash-commit

Reply via email to