Compilation error due to missing <functional> (Bug #3505)
Description
modules/imgproc/src/featureselect.cpp
doesn't include
<functional>
and hence compilation errors are occurred at the following declaration in VC9
struct greaterThanPtr : public std::binary_function<const float *, const float *, bool> { bool operator () (const float * a, const float * b) const { return *a > *b; } };
When I added "#include <functional>" into featureselect.cpp, it was compiled correctly.
Associated revisions
Merge pull request #3505 from karelknoest:lsd_subpixel
History
Updated by Vladislav Vinogradov about 11 years ago
Hello kibe,
Thank you for reporting the issue!
We would really appreciate if you send a pull request with your fix to the opencv repository.
Please see http://www.code.opencv.org/projects/opencv/wiki/How_to_contribute for instructions.
- Status changed from New to Open
- Category set to imgproc, video
- Assignee set to kibe kibe
Updated by Vladislav Vinogradov about 11 years ago
- Pull request set to https://github.com/Itseez/opencv/pull/2227
Updated by Vladislav Vinogradov about 11 years ago
- Status changed from Open to Done
- Target version set to 3.0
- Pull request changed from https://github.com/Itseez/opencv/pull/2227 to https://github.com/Itseez/opencv/pull/2263