util/Exception: add "noexcept"

This commit is contained in:
Max Kellermann 2017-05-16 10:20:17 +02:00
parent 377a2860cc
commit 9def9b35b9
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@
#include <stdexcept>
std::string
FullMessage(std::exception_ptr ep)
FullMessage(std::exception_ptr ep) noexcept
{
try {
std::rethrow_exception(ep);

View File

@ -38,6 +38,6 @@
* exceptions (if any).
*/
std::string
FullMessage(std::exception_ptr ep);
FullMessage(std::exception_ptr ep) noexcept;
#endif