Merge pull request #12424 from alalek:fix_build_avoid_nullptr

pull/12433/head
Alexander Alekhin 6 years ago
commit 9fae8070dc
  1. 2
      modules/cudaimgproc/src/canny.cpp
  2. 2
      modules/videoio/src/cap_openni2.cpp

@ -74,7 +74,7 @@ namespace
low_thresh_(low_thresh), high_thresh_(high_thresh), apperture_size_(apperture_size), L2gradient_(L2gradient)
{
old_apperture_size_ = -1;
d_counter = nullptr;
d_counter = NULL;
}
void detect(InputArray image, OutputArray edges, Stream& stream);

@ -223,7 +223,7 @@ openni::VideoMode CvCapture_OpenNI2::defaultStreamOutputMode(int stream)
CvCapture_OpenNI2::CvCapture_OpenNI2(int index) :
CvCapture_OpenNI2(index, nullptr)
CvCapture_OpenNI2(index, NULL)
{ }
CvCapture_OpenNI2::CvCapture_OpenNI2(const char * filename) :

Loading…
Cancel
Save