Merge pull request #1566 from SpecLad:Wshadow-openni

pull/1578/head
Roman Donchenko 11 years ago committed by OpenCV Buildbot
commit 801054d611
  1. 6
      modules/highgui/src/cap_openni.cpp

@ -310,15 +310,15 @@ private:
class TBBApproximateSynchronizer: public ApproximateSynchronizerBase class TBBApproximateSynchronizer: public ApproximateSynchronizerBase
{ {
public: public:
TBBApproximateSynchronizer( ApproximateSyncGrabber& approxSyncGrabber ) : TBBApproximateSynchronizer( ApproximateSyncGrabber& _approxSyncGrabber ) :
ApproximateSynchronizerBase(approxSyncGrabber) ApproximateSynchronizerBase(_approxSyncGrabber)
{ {
setMaxBufferSize(); setMaxBufferSize();
} }
void setMaxBufferSize() void setMaxBufferSize()
{ {
int maxBufferSize = ApproximateSynchronizerBase::approxSyncGrabber.getMaxBufferSize(); int maxBufferSize = approxSyncGrabber.getMaxBufferSize();
if( maxBufferSize >= 0 ) if( maxBufferSize >= 0 )
{ {
depthQueue.set_capacity( maxBufferSize ); depthQueue.set_capacity( maxBufferSize );

Loading…
Cancel
Save