Commit 9def9b35 authored by Max Kellermann's avatar Max Kellermann

util/Exception: add "noexcept"

parent 377a2860
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
#include <stdexcept> #include <stdexcept>
std::string std::string
FullMessage(std::exception_ptr ep) FullMessage(std::exception_ptr ep) noexcept
{ {
try { try {
std::rethrow_exception(ep); std::rethrow_exception(ep);
......
...@@ -38,6 +38,6 @@ ...@@ -38,6 +38,6 @@
* exceptions (if any). * exceptions (if any).
*/ */
std::string std::string
FullMessage(std::exception_ptr ep); FullMessage(std::exception_ptr ep) noexcept;
#endif #endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment