X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdevices%2Finputfile.cpp;h=b866deb8245ed1d6051833f897efc2b7d59ee282;hp=58c60d700bbd25375222b20f09c7f35a41097e3a;hb=30677c1392b54604b01558cf29b44572731659fc;hpb=bf84211be02b096646cf28cf9dc7480029e4f439 diff --git a/pv/devices/inputfile.cpp b/pv/devices/inputfile.cpp index 58c60d7..b866deb 100644 --- a/pv/devices/inputfile.cpp +++ b/pv/devices/inputfile.cpp @@ -74,7 +74,7 @@ void InputFile::open() try { device_ = input_->device(); - } catch (sigrok::Error) { + } catch (sigrok::Error&) { return; }