Constify exception references

This commit is contained in:
Chocobo1 2019-05-16 15:02:17 +08:00
parent e288de7ec1
commit 6738cdd715
No known key found for this signature in database
GPG key ID: 210D9C873253A68C
3 changed files with 14 additions and 14 deletions

View file

@ -261,7 +261,7 @@ int main(int argc, char *argv[])
return app->exec(params.paramList());
}
catch (CommandLineParameterError &er) {
catch (const CommandLineParameterError &er) {
displayBadArgMessage(er.messageForUser());
return EXIT_FAILURE;
}