Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using g++ 7.3.0 错误:call to non-constexpr function ->frame_i.image.get() #2

Open
Jimsysu opened this issue Mar 5, 2020 · 1 comment

Comments

@Jimsysu
Copy link

Jimsysu commented Mar 5, 2020

/Project/vig-init/ext/slamtools/include/slamtools/frame.h:80:56: 错误:call to non-constexpr function ‘std::__shared_ptr<_Tp, _Lp>::element_type* std::__shared_ptr<_Tp, _Lp>::get() const [with _Tp = Image; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2; std::__shared_ptr<_Tp, _Lp>::element_type = Image]’
return Comparator<Image *>()(frame_i.image.get(), frame_j.image.get());

@Once245
Copy link

Once245 commented Apr 16, 2023

hi,i also meet this problem,can you give some advice ,thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants