Kaydet (Commit) 336dd506 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

"no matching function for call to 'get_pointer'," use lambda instead

Change-Id: I40ea3b781ec35171706a277acff6eb2eab29c297
üst 61ed1cb9
......@@ -534,9 +534,11 @@ namespace oox { namespace ppt {
maTransitionFilter.setTransitionFilterProperties( xFilter );
}
std::for_each( maChildren.begin(), maChildren.end(),
boost::bind(&TimeNode::addNode, _1, boost::cref(rFilter), boost::ref(xNode),
boost::ref(pSlide) ) );
std::for_each(
maChildren.begin(), maChildren.end(),
[&rFilter, &xNode, &pSlide] (TimeNodePtr const & child) {
child->addNode(rFilter, xNode, pSlide);
} );
switch( mnNodeType )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment