diff OrthancServer/Sources/OrthancFindRequestHandler.cpp @ 4204:318c16cfccab

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 17 Sep 2020 16:18:01 +0200
parents 1ec3e1e18f50
children 5a3374b6e707
line wrap: on
line diff
--- a/OrthancServer/Sources/OrthancFindRequestHandler.cpp	Thu Sep 17 15:01:31 2020 +0200
+++ b/OrthancServer/Sources/OrthancFindRequestHandler.cpp	Thu Sep 17 16:18:01 2020 +0200
@@ -538,7 +538,7 @@
       }
     }
 
-    virtual bool IsDicomAsJsonNeeded() const
+    virtual bool IsDicomAsJsonNeeded() const ORTHANC_OVERRIDE
     {
       // Ask the "DICOM-as-JSON" attachment only if sequences are to
       // be returned OR if "query_" contains non-main DICOM tags!
@@ -564,7 +564,7 @@
               !withoutSpecialTags.HasOnlyMainDicomTags());
     }
       
-    virtual void MarkAsComplete()
+    virtual void MarkAsComplete() ORTHANC_OVERRIDE
     {
       answers_.SetComplete(true);
     }
@@ -572,7 +572,7 @@
     virtual void Visit(const std::string& publicId,
                        const std::string& instanceId,
                        const DicomMap& mainDicomTags,
-                       const Json::Value* dicomAsJson) 
+                       const Json::Value* dicomAsJson) ORTHANC_OVERRIDE
     {
       std::unique_ptr<DicomMap> counters(ComputeCounters(context_, instanceId, level_, query_));