changeset 280:b8ba198a8df3

adding missing ORTHANC_OVERRIDE
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 23 Apr 2021 07:41:16 +0200
parents 74710e0fda07
children dfaede12519a e7678a7b10bb
files Framework/MySQL/MySQLDatabase.cpp Framework/PostgreSQL/PostgreSQLDatabase.cpp
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/Framework/MySQL/MySQLDatabase.cpp	Thu Apr 22 17:22:47 2021 +0200
+++ b/Framework/MySQL/MySQLDatabase.cpp	Fri Apr 23 07:41:16 2021 +0200
@@ -546,13 +546,13 @@
       
     protected:
       virtual IResult* ExecuteInternal(IPrecompiledStatement& statement,
-                                       const Dictionary& parameters)
+                                       const Dictionary& parameters) ORTHANC_OVERRIDE
       {
         return dynamic_cast<MySQLStatement&>(statement).Execute(*this, parameters);
       }
 
       virtual void ExecuteWithoutResultInternal(IPrecompiledStatement& statement,
-                                                const Dictionary& parameters)
+                                                const Dictionary& parameters) ORTHANC_OVERRIDE
       {
         dynamic_cast<MySQLStatement&>(statement).ExecuteWithoutResult(*this, parameters);
       }
--- a/Framework/PostgreSQL/PostgreSQLDatabase.cpp	Thu Apr 22 17:22:47 2021 +0200
+++ b/Framework/PostgreSQL/PostgreSQLDatabase.cpp	Fri Apr 23 07:41:16 2021 +0200
@@ -263,13 +263,13 @@
       
     protected:
       virtual IResult* ExecuteInternal(IPrecompiledStatement& statement,
-                                       const Dictionary& parameters)
+                                       const Dictionary& parameters) ORTHANC_OVERRIDE
       {
         return dynamic_cast<PostgreSQLStatement&>(statement).Execute(*this, parameters);
       }
 
       virtual void ExecuteWithoutResultInternal(IPrecompiledStatement& statement,
-                                                const Dictionary& parameters)
+                                                const Dictionary& parameters) ORTHANC_OVERRIDE
       {
         dynamic_cast<PostgreSQLStatement&>(statement).ExecuteWithoutResult(*this, parameters);
       }