diff Framework/Common/ImplicitTransaction.h @ 214:ab96698c73a3

removed useless information about read-only in ITransaction and IPrecompiledStatement
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 25 Mar 2021 13:56:26 +0100
parents 3236894320d6
children 16aac0287485
line wrap: on
line diff
--- a/Framework/Common/ImplicitTransaction.h	Wed Mar 24 15:59:23 2021 +0100
+++ b/Framework/Common/ImplicitTransaction.h	Thu Mar 25 13:56:26 2021 +0100
@@ -38,7 +38,6 @@
     };
 
     State   state_;
-    bool    readOnly_;
 
     void CheckStateForExecution();
     
@@ -59,11 +58,6 @@
       return true;
     }
     
-    virtual bool IsReadOnly() const ORTHANC_OVERRIDE
-    {
-      return readOnly_;
-    }
-
     virtual void Rollback() ORTHANC_OVERRIDE;
     
     virtual void Commit() ORTHANC_OVERRIDE;