changeset 109:7a0c6c4dd126

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 09 Sep 2026 08:23:23 +0200
parents ca02e82c9e27
children afc8230831ad
files Sources/Models/DocumentOrientedDatabase.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Sources/Models/DocumentOrientedDatabase.cpp	Wed Sep 09 08:20:02 2026 +0200
+++ b/Sources/Models/DocumentOrientedDatabase.cpp	Wed Sep 09 08:23:23 2026 +0200
@@ -117,7 +117,7 @@
         documents_[iterator->GetKey()] = unserializer_->Unserialize(json);
         ok = true;
       }
-      catch (Orthanc::OrthancException& e)
+      catch (const Orthanc::OrthancException& e)
       {
       }
     }