diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-01-28 17:13:52 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-01-28 17:13:52 +0100 |
commit | c3dbbec39aef32789aacb872c88801f0c5d15ef7 (patch) | |
tree | f935c3ae09246c4dbb714d1fd73a2f874925802f /src/DabModulator.cpp | |
parent | aec2a980fc37bd5d28f06c8e48a98b51ae65ac32 (diff) | |
download | dabmod-c3dbbec39aef32789aacb872c88801f0c5d15ef7.tar.gz dabmod-c3dbbec39aef32789aacb872c88801f0c5d15ef7.tar.bz2 dabmod-c3dbbec39aef32789aacb872c88801f0c5d15ef7.zip |
Catch all exceptions as const
Diffstat (limited to 'src/DabModulator.cpp')
-rw-r--r-- | src/DabModulator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DabModulator.cpp b/src/DabModulator.cpp index 666745d..7e3ccf0 100644 --- a/src/DabModulator.cpp +++ b/src/DabModulator.cpp @@ -183,7 +183,7 @@ int DabModulator::process(Buffer* dataOut) rcs.enrol(tii.get()); tiiRef = make_shared<PhaseReference>(mode); } - catch (TIIError& e) { + catch (const TIIError& e) { etiLog.level(error) << "Could not initialise TII: " << e.what(); } |