mirror of
https://github.com/opencv/opencv.git
synced 2025-06-11 03:33:28 +08:00
![]() This is fixed upstream in mariusmuja/flann@b615f26, but that fix would break binary compatibility, so I had to make a different one. Since the bug isn't quite obvious, here's an explanation. In the const version of any::cast, if policy is a small_any_policy, its get_value returns its input argument. So r becomes a pointer to obj, and the return value is a reference to a local variable, which is invalidated when the function exits. |
||
---|---|---|
.. | ||
doc | ||
include/opencv2/flann | ||
src | ||
test | ||
CMakeLists.txt |