diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-12-11 23:04:57 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-12-18 15:15:43 +0000 |
commit | a4240d9ffcef137a273f6042332a62cca43e0983 (patch) | |
tree | 95fd472a6e74e0124683dc0f9905d5b02bcd8f05 /contrib/epee/include/string_tools.h | |
parent | add empty container sanity checks when using front() and back() (diff) | |
download | monero-a4240d9ffcef137a273f6042332a62cca43e0983.tar.xz |
catch const exceptions
Diffstat (limited to 'contrib/epee/include/string_tools.h')
-rw-r--r-- | contrib/epee/include/string_tools.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/epee/include/string_tools.h b/contrib/epee/include/string_tools.h index 307323aa1..5a1ef0743 100644 --- a/contrib/epee/include/string_tools.h +++ b/contrib/epee/include/string_tools.h @@ -161,7 +161,7 @@ DISABLE_GCC_WARNING(maybe-uninitialized) val = boost::lexical_cast<XType>(str_id); return true; } - catch(std::exception& /*e*/) + catch(const std::exception& /*e*/) { //const char* pmsg = e.what(); return false; |