diff OrthancServer/Sources/Search/DatabaseLookup.cpp @ 4981:d0c34145320c

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 25 Apr 2022 17:32:58 +0200
parents dad71e6da406
children 01934fc29d43
line wrap: on
line diff
--- a/OrthancServer/Sources/Search/DatabaseLookup.cpp	Mon Apr 25 15:50:57 2022 +0200
+++ b/OrthancServer/Sources/Search/DatabaseLookup.cpp	Mon Apr 25 17:32:58 2022 +0200
@@ -334,7 +334,7 @@
       assert(constraints_[i] != NULL);
       if (constraints_[i]->GetTag() == tag)
       {
-        constraint = constraints_.at(i);
+        constraint = constraints_[i];
         return true;
       }
     }