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
|
||||
ViewShape::RenderArgs renderArgs( getViewRenderArgs() );
|
||||
if( ::std::count_if( maViewShapes.begin(),
|
||||
maViewShapes.end(),
|
||||
::boost::bind<bool>(
|
||||
@ -178,7 +179,7 @@ namespace slideshow
|
||||
// the extra mem_fn. WTF.
|
||||
_1,
|
||||
::boost::cref( mpCurrMtf ),
|
||||
getViewRenderArgs(),
|
||||
::boost::cref( renderArgs ),
|
||||
nUpdateFlags,
|
||||
isVisible() ) )
|
||||
!= static_cast<ViewShapeVector::difference_type>(maViewShapes.size()) )
|
||||
|
Loading…
x
Reference in New Issue
Block a user