coverity#1257110 Big parameter passed by value
and coverity#1186125 Big parameter passed by value Change-Id: I6cb6863645647edf4fba114059195582679c30c4
This commit is contained in:
parent
322ca1cea2
commit
dde94c7348
@ -168,6 +168,7 @@ namespace slideshow
|
|||||||
}
|
}
|
||||||
|
|
||||||
// redraw all view shapes, by calling their update() method
|
// redraw all view shapes, by calling their update() method
|
||||||
|
ViewShape::RenderArgs renderArgs( getViewRenderArgs() );
|
||||||
if( ::std::count_if( maViewShapes.begin(),
|
if( ::std::count_if( maViewShapes.begin(),
|
||||||
maViewShapes.end(),
|
maViewShapes.end(),
|
||||||
::boost::bind<bool>(
|
::boost::bind<bool>(
|
||||||
@ -178,7 +179,7 @@ namespace slideshow
|
|||||||
// the extra mem_fn. WTF.
|
// the extra mem_fn. WTF.
|
||||||
_1,
|
_1,
|
||||||
::boost::cref( mpCurrMtf ),
|
::boost::cref( mpCurrMtf ),
|
||||||
getViewRenderArgs(),
|
::boost::cref( renderArgs ),
|
||||||
nUpdateFlags,
|
nUpdateFlags,
|
||||||
isVisible() ) )
|
isVisible() ) )
|
||||||
!= static_cast<ViewShapeVector::difference_type>(maViewShapes.size()) )
|
!= static_cast<ViewShapeVector::difference_type>(maViewShapes.size()) )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user