Commit c441ad36 authored by Alexander Alekhin's avatar Alexander Alekhin

build: don't use nullptr without C++11 guard

parent 59cd636a
...@@ -74,7 +74,7 @@ namespace ...@@ -74,7 +74,7 @@ namespace
low_thresh_(low_thresh), high_thresh_(high_thresh), apperture_size_(apperture_size), L2gradient_(L2gradient) low_thresh_(low_thresh), high_thresh_(high_thresh), apperture_size_(apperture_size), L2gradient_(L2gradient)
{ {
old_apperture_size_ = -1; old_apperture_size_ = -1;
d_counter = nullptr; d_counter = NULL;
} }
void detect(InputArray image, OutputArray edges, Stream& stream); void detect(InputArray image, OutputArray edges, Stream& stream);
......
...@@ -223,7 +223,7 @@ openni::VideoMode CvCapture_OpenNI2::defaultStreamOutputMode(int stream) ...@@ -223,7 +223,7 @@ openni::VideoMode CvCapture_OpenNI2::defaultStreamOutputMode(int stream)
CvCapture_OpenNI2::CvCapture_OpenNI2(int index) : CvCapture_OpenNI2::CvCapture_OpenNI2(int index) :
CvCapture_OpenNI2(index, nullptr) CvCapture_OpenNI2(index, NULL)
{ } { }
CvCapture_OpenNI2::CvCapture_OpenNI2(const char * filename) : CvCapture_OpenNI2::CvCapture_OpenNI2(const char * filename) :
......
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