From 9def9b35b9de414e3325e2c18418effaa475f962 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 16 May 2017 10:20:17 +0200 Subject: [PATCH] util/Exception: add "noexcept" --- src/util/Exception.cxx | 2 +- src/util/Exception.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/Exception.cxx b/src/util/Exception.cxx index 621590ebd..46a7d1558 100644 --- a/src/util/Exception.cxx +++ b/src/util/Exception.cxx @@ -32,7 +32,7 @@ #include std::string -FullMessage(std::exception_ptr ep) +FullMessage(std::exception_ptr ep) noexcept { try { std::rethrow_exception(ep); diff --git a/src/util/Exception.hxx b/src/util/Exception.hxx index 6cbda949d..9b8f9887d 100644 --- a/src/util/Exception.hxx +++ b/src/util/Exception.hxx @@ -38,6 +38,6 @@ * exceptions (if any). */ std::string -FullMessage(std::exception_ptr ep); +FullMessage(std::exception_ptr ep) noexcept; #endif