diff Framework/MySQL/MySQLResult.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/MySQL/MySQLResult.h	Wed Dec 16 13:59:17 2020 +0100
+++ b/Framework/MySQL/MySQLResult.h	Wed Dec 16 15:05:19 2020 +0100
@@ -40,19 +40,19 @@
     void Step();
 
   protected:
-    virtual IValue* FetchField(size_t index);
+    virtual IValue* FetchField(size_t index) ORTHANC_OVERRIDE;
     
   public:
     MySQLResult(MySQLDatabase& db,
                 MySQLStatement& statement);
 
-    virtual ~MySQLResult();
+    virtual ~MySQLResult() ORTHANC_OVERRIDE;
     
-    virtual bool IsDone() const
+    virtual bool IsDone() const ORTHANC_OVERRIDE
     {
       return done_;
     }
 
-    virtual void Next();
+    virtual void Next() ORTHANC_OVERRIDE;
   };
 }