diff Framework/Common/GenericFormatter.h @ 186:6fe74f9a516e

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 16 Dec 2020 15:05:19 +0100
parents 4cd7e45b671e
children 3236894320d6
line wrap: on
line diff
--- a/Framework/Common/GenericFormatter.h	Wed Dec 16 13:59:17 2020 +0100
+++ b/Framework/Common/GenericFormatter.h	Wed Dec 16 15:05:19 2020 +0100
@@ -23,6 +23,8 @@
 
 #include "Query.h"
 
+#include <Compatibility.h>
+
 namespace OrthancDatabases
 {
   class GenericFormatter : public Query::IParameterFormatter
@@ -38,9 +40,9 @@
     {
     }
     
-    void Format(std::string& target,
-                const std::string& source,
-                ValueType type);
+    virtual void Format(std::string& target,
+                        const std::string& source,
+                        ValueType type) ORTHANC_OVERRIDE;
 
     size_t GetParametersCount() const
     {