rmsalinas / DBow3

Improved version of DBow2
Other
501 stars 237 forks source link

Make compilable with C++17 or later #50

Open YasunoriHirakawa opened 2 years ago

YasunoriHirakawa commented 2 years ago

The Vocabulary.h and Vocabulary.cpp codes contain dynamic exception specifications. However, this specification was removed in C++17, and the code fails to compile in C++17 or later. So, by rewriting the corresponding code to noexcept(false), make it explicit that the method may send an exception.

BillyONeal commented 1 year ago

This is necessary to compile on Ubuntu 22.04. Any chance of getting this merged?