util/Exception: add "noexcept"
This commit is contained in:
parent
377a2860cc
commit
9def9b35b9
@ -32,7 +32,7 @@
|
||||
#include <stdexcept>
|
||||
|
||||
std::string
|
||||
FullMessage(std::exception_ptr ep)
|
||||
FullMessage(std::exception_ptr ep) noexcept
|
||||
{
|
||||
try {
|
||||
std::rethrow_exception(ep);
|
||||
|
@ -38,6 +38,6 @@
|
||||
* exceptions (if any).
|
||||
*/
|
||||
std::string
|
||||
FullMessage(std::exception_ptr ep);
|
||||
FullMessage(std::exception_ptr ep) noexcept;
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user