diff Framework/SQLite/SQLiteResult.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/SQLite/SQLiteResult.h	Wed Dec 16 13:59:17 2020 +0100
+++ b/Framework/SQLite/SQLiteResult.h	Wed Dec 16 15:05:19 2020 +0100
@@ -39,16 +39,16 @@
     void StepInternal();
 
   protected:
-    virtual IValue* FetchField(size_t index);
+    virtual IValue* FetchField(size_t index) ORTHANC_OVERRIDE;
     
   public:
-    SQLiteResult(SQLiteStatement& statement);
+    explicit SQLiteResult(SQLiteStatement& statement);
     
-    virtual bool IsDone() const
+    virtual bool IsDone() const ORTHANC_OVERRIDE
     {
       return done_;
     }
 
-    virtual void Next();
+    virtual void Next() ORTHANC_OVERRIDE;
   };
 }