diff OrthancServer/Sources/Search/DicomTagConstraint.h @ 4204:318c16cfccab

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 17 Sep 2020 16:18:01 +0200
parents 37310bb1cd30
children d9473bd5ed43
line wrap: on
line diff
--- a/OrthancServer/Sources/Search/DicomTagConstraint.h	Thu Sep 17 15:01:31 2020 +0200
+++ b/OrthancServer/Sources/Search/DicomTagConstraint.h	Thu Sep 17 16:18:01 2020 +0200
@@ -70,9 +70,9 @@
                        bool caseSensitive,
                        bool mandatory);
 
-    DicomTagConstraint(const DicomTagConstraint& other);
+    explicit DicomTagConstraint(const DicomTagConstraint& other);
     
-    DicomTagConstraint(const DatabaseConstraint& constraint);
+    explicit DicomTagConstraint(const DatabaseConstraint& constraint);
 
     const DicomTag& GetTag() const
     {