r3049 broke compilation on VS2010 (Bug #318)


Added by Kevin Bryan almost 15 years ago. Updated almost 15 years ago.


Status:Done Start date:
Priority:High Due date:
Assignee:Maria Dimashova % Done:

0%

Category:imgproc, video
Target version:-
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

Description

In the refactoring of OneWayDescriptorMatchParams to OneWayDescriptorMatch::Params, the minScale, maxScale and stepScale parameter defaults were changed in a way that does not compile with Visual Studio 2010. MIN_SCALE is declared as "static const float MIN_SCALE = 1.f;", which yields an error "C2864: only static const integral data members can be initialized.

Please revert the way these values are initialized to use the old method, or some other compatible method.


Associated revisions

Revision a8c014de
Added by Andrey Kamaev about 12 years ago

Merge pull request #318 from AnnaKogan8:fixed-perf-tests

History

Updated by Maria Dimashova almost 15 years ago

fixed in r3051

  • Status changed from Open to Done
  • (deleted custom field) set to fixed

Also available in: Atom PDF