summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/lib/prefs.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-runtime/lib/prefs.cc')
-rw-r--r--gnuradio-runtime/lib/prefs.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnuradio-runtime/lib/prefs.cc b/gnuradio-runtime/lib/prefs.cc
index a17e51bbef..f59a2346f7 100644
--- a/gnuradio-runtime/lib/prefs.cc
+++ b/gnuradio-runtime/lib/prefs.cc
@@ -110,7 +110,7 @@ void prefs::_read_files(const std::vector<std::string>& filenames)
std::string value = o.value[0];
d_config_map[section][key] = value;
}
- } catch (std::exception e) {
+ } catch (std::exception& e) {
std::cerr << "WARNING: Config file '" << fname
<< "' failed to parse:" << std::endl;
std::cerr << e.what() << std::endl;