mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
throw() -> noexcept
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user