diff --git a/core/AmUtils.cpp b/core/AmUtils.cpp index 9ced0464..1297e17b 100644 --- a/core/AmUtils.cpp +++ b/core/AmUtils.cpp @@ -280,11 +280,11 @@ bool str2int(const string& str, double& result) return true; } - catch (const std::invalid_argument) + catch (const std::invalid_argument&) { return false; } - catch (const std::out_of_range) + catch (const std::out_of_range&) { return false; }