mirror of
https://github.com/opencv/opencv.git
synced 2026-07-27 06:13:05 +04:00
quickly corrected the previous refactoring of features2d: moved from set(SOME_PROP, val) to setSomeProp(val)
This commit is contained in:
@@ -179,9 +179,6 @@ String Algorithm::name() const
|
||||
return info()->name();
|
||||
}
|
||||
|
||||
void Algorithm::set(int, double) {}
|
||||
double Algorithm::get(int) const { return 0.; }
|
||||
|
||||
void Algorithm::set(const String& parameter, int value)
|
||||
{
|
||||
info()->set(this, parameter.c_str(), ParamType<int>::type, &value);
|
||||
|
||||
Reference in New Issue
Block a user