1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

throw() -> noexcept

This commit is contained in:
Richard Barnes
2024-07-15 10:48:02 -07:00
parent 7b176d898b
commit d1505693dd
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -318,12 +318,12 @@ Exception::Exception(int _code, const String& _err, const String& _func, const S
formatMessage();
}
Exception::~Exception() throw() {}
Exception::~Exception() CV_NOEXCEPT {}
/*!
\return the error description and the context as a text string.
*/
const char* Exception::what() const throw() { return msg.c_str(); }
const char* Exception::what() const CV_NOEXCEPT { return msg.c_str(); }
void Exception::formatMessage()
{