From 517a8d108b4dcf31c6047659f1feca135dcc142a Mon Sep 17 00:00:00 2001 From: DreamSourceLab Date: Thu, 9 Apr 2020 20:07:10 +0800 Subject: [PATCH] Fix compile warning --- DSView/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DSView/main.cpp b/DSView/main.cpp index 8487f1e6..5f84b9e5 100755 --- a/DSView/main.cpp +++ b/DSView/main.cpp @@ -169,7 +169,7 @@ int main(int argc, char *argv[]) // Run the application ret = a.exec(); - } catch(std::exception e) { + } catch(const std::exception &e) { qDebug() << e.what(); }