mirror of
https://github.com/boostorg/exception.git
synced 2025-07-29 12:07:20 +02:00
Replaced throw() with BOOST_NOEXCEPT_OR_NOTHROW
With throw(), Visual Studio 2017 emitted a warning "C26439 SPECIAL_NOEXCEPT". Reproducible at least if code analysis was set to level: "Microsoft Native Recommended Rules". https://docs.microsoft.com/en-us/visualstudio/code-quality/c26439?view=vs-2017
This commit is contained in:
@ -73,7 +73,7 @@ derives_std_boost_exception:
|
||||
{
|
||||
}
|
||||
|
||||
char const * what() const throw()
|
||||
char const * what() const BOOST_NOEXCEPT_OR_NOTHROW
|
||||
{
|
||||
return wh_;
|
||||
}
|
||||
|
Reference in New Issue
Block a user