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.
The
Vocabulary.h
andVocabulary.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 tonoexcept(false)
, make it explicit that the method may send an exception.