aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/include/string_tools.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-12-11 23:04:57 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-12-18 15:15:43 +0000
commita4240d9ffcef137a273f6042332a62cca43e0983 (patch)
tree95fd472a6e74e0124683dc0f9905d5b02bcd8f05 /contrib/epee/include/string_tools.h
parentadd empty container sanity checks when using front() and back() (diff)
downloadmonero-a4240d9ffcef137a273f6042332a62cca43e0983.tar.xz
catch const exceptions
Diffstat (limited to '')
-rw-r--r--contrib/epee/include/string_tools.h2
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;