Skip to content

Commit

Permalink
COMP: Fix -Wcatch-value in ctkDICOMVisualBrowserWidget
Browse files Browse the repository at this point in the history
  • Loading branch information
jcfr committed Jan 12, 2024
1 parent 7007c27 commit 38536a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Libs/DICOM/Widgets/ctkDICOMVisualBrowserWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1992,7 +1992,7 @@ void ctkDICOMVisualBrowserWidget::setDatabaseDirectory(const QString &directory)
d->DicomDatabase->openDatabase(databaseFileName);
databaseOpenSuccess = d->DicomDatabase->isOpen();
}
catch (std::exception e)
catch (const std::exception& e)
{
Q_UNUSED(e);
databaseOpenSuccess = false;
Expand Down

0 comments on commit 38536a0

Please sign in to comment.