From c3dbbec39aef32789aacb872c88801f0c5d15ef7 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Mon, 28 Jan 2019 17:13:52 +0100 Subject: Catch all exceptions as const --- src/FIRFilter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/FIRFilter.cpp') diff --git a/src/FIRFilter.cpp b/src/FIRFilter.cpp index 8b6fe58..89cf0da 100644 --- a/src/FIRFilter.cpp +++ b/src/FIRFilter.cpp @@ -318,7 +318,7 @@ void FIRFilter::set_parameter(const string& parameter, const string& value) load_filter_taps(value); m_taps_file = value; } - catch (std::runtime_error &e) { + catch (const std::runtime_error &e) { throw ParameterError(e.what()); } } -- cgit v1.2.3