stella-cv / stella_vslam

This is a unofficial fork of OpenVSLAM (https://github.com/xdspacelab/openvslam)
https://stella-cv.rtfd.io/en/latest/
Other
901 stars 387 forks source link

cv::KeyPoint may not be saving/loading as intended #271

Open ymd-stella opened 2 years ago

ymd-stella commented 2 years ago

Describe the bug

When saving maps to sqlite3, cv::KeyPoint may not be saving/loading as intended. The following warning has been issued.

/openvslam/src/openvslam/data/map_database.cc:538:76: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class cv::KeyPoint' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]

Environment

Additional context

Related to https://github.com/stella-cv/stella_vslam/pull/269.

ymd-stella commented 2 years ago

@BBin1103 Thanks for the report, but please create another issue because it is irrelevant to this issue.

BBin1103 commented 2 years ago

@BBin1103 Thanks for the report, but please create another issue because it is irrelevant to this issue.

ok, #308