fixed warnings in gpu modules from VS 2012
This commit is contained in:
parent
70deda354a
commit
b4d95b1406
@ -51,6 +51,8 @@
|
|||||||
#ifndef __OPENCV_TEST_PRECOMP_HPP__
|
#ifndef __OPENCV_TEST_PRECOMP_HPP__
|
||||||
#define __OPENCV_TEST_PRECOMP_HPP__
|
#define __OPENCV_TEST_PRECOMP_HPP__
|
||||||
|
|
||||||
|
#include <functional>
|
||||||
|
|
||||||
#include "opencv2/ts.hpp"
|
#include "opencv2/ts.hpp"
|
||||||
#include "opencv2/ts/gpu_test.hpp"
|
#include "opencv2/ts/gpu_test.hpp"
|
||||||
|
|
||||||
|
@ -98,8 +98,8 @@ namespace
|
|||||||
int getPreFilterCap() const { return preFilterCap_; }
|
int getPreFilterCap() const { return preFilterCap_; }
|
||||||
void setPreFilterCap(int preFilterCap) { preFilterCap_ = preFilterCap; }
|
void setPreFilterCap(int preFilterCap) { preFilterCap_ = preFilterCap; }
|
||||||
|
|
||||||
int getTextureThreshold() const { return avergeTexThreshold_; }
|
int getTextureThreshold() const { return static_cast<int>(avergeTexThreshold_); }
|
||||||
void setTextureThreshold(int textureThreshold) { avergeTexThreshold_ = textureThreshold; }
|
void setTextureThreshold(int textureThreshold) { avergeTexThreshold_ = static_cast<float>(textureThreshold); }
|
||||||
|
|
||||||
int getUniquenessRatio() const { return 0; }
|
int getUniquenessRatio() const { return 0; }
|
||||||
void setUniquenessRatio(int /*uniquenessRatio*/) {}
|
void setUniquenessRatio(int /*uniquenessRatio*/) {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user