util/Exception: add "noexcept"
This commit is contained in:
parent
377a2860cc
commit
9def9b35b9
@ -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 @@
|
|||||||
* exceptions (if any).
|
* exceptions (if any).
|
||||||
*/
|
*/
|
||||||
std::string
|
std::string
|
||||||
FullMessage(std::exception_ptr ep);
|
FullMessage(std::exception_ptr ep) noexcept;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user