mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 03:00:14 +08:00
fixed MSVC warnings and iOS framework compile error
This commit is contained in:
parent
b37a641cc9
commit
dcee883961
@ -86,7 +86,7 @@ namespace cv
|
||||
void setDescriptorChannels(int dch) { descriptor_channels = dch; }
|
||||
int getDescriptorChannels() const { return descriptor_channels; }
|
||||
|
||||
void setThreshold(double threshold_) { threshold = threshold_; }
|
||||
void setThreshold(double threshold_) { threshold = (float)threshold_; }
|
||||
double getThreshold() const { return threshold; }
|
||||
|
||||
void setNOctaves(int octaves_) { octaves = octaves_; }
|
||||
|
@ -75,7 +75,7 @@ namespace cv
|
||||
void setUpright(bool upright_) { upright = upright_; }
|
||||
bool getUpright() const { return upright; }
|
||||
|
||||
void setThreshold(double threshold_) { threshold = threshold_; }
|
||||
void setThreshold(double threshold_) { threshold = (float)threshold_; }
|
||||
double getThreshold() const { return threshold; }
|
||||
|
||||
void setNOctaves(int octaves_) { octaves = octaves_; }
|
||||
|
@ -44,9 +44,5 @@
|
||||
|
||||
bool cv::initAll()
|
||||
{
|
||||
return true
|
||||
#ifdef HAVE_OPENCV_VIDEO
|
||||
&& initModule_video()
|
||||
#endif
|
||||
;
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user