Compile opencv_test_core with cv::String instead of std::string
All tests passed!
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
|
||||
using namespace cv;
|
||||
|
||||
Ptr<Feature2D> Feature2D::create( const std::string& feature2DType )
|
||||
Ptr<Feature2D> Feature2D::create( const cv::String& feature2DType )
|
||||
{
|
||||
return Algorithm::create<Feature2D>("Feature2D." + feature2DType);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user