]> sigrok.org Git - pulseview.git/blobdiff - main.cpp
CMakeLists.txt: Fix a build issue on MSYS2.
[pulseview.git] / main.cpp
index cd7e65d3cbbffa6d7a8ec949e02134c74af64c97..1e214e03f97df04c1f694b971ca25df0a36cc3eb 100644 (file)
--- a/main.cpp
+++ b/main.cpp
@@ -226,7 +226,7 @@ int main(int argc, char *argv[])
                        // Run the application
                        ret = a.exec();
 
-               } catch (exception e) {
+               } catch (exception& e) {
                        qDebug() << e.what();
                }