Mercurial > hg > orthanc-databases
diff Framework/Plugins/StorageBackend.h @ 252:33fa478c119a
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 14 Apr 2021 13:33:48 +0200 |
parents | 483af3f35a4b |
children | d663d9e44f8d |
line wrap: on
line diff
--- a/Framework/Plugins/StorageBackend.h Wed Apr 14 11:20:51 2021 +0200 +++ b/Framework/Plugins/StorageBackend.h Wed Apr 14 13:33:48 2021 +0200 @@ -87,7 +87,7 @@ DatabaseManager& manager_; public: - AccessorBase(StorageBackend& backend) : + explicit AccessorBase(StorageBackend& backend) : lock_(backend.mutex_), manager_(backend.GetManager()) { @@ -101,20 +101,20 @@ virtual void Create(const std::string& uuid, const void* content, size_t size, - OrthancPluginContentType type); + OrthancPluginContentType type) ORTHANC_OVERRIDE; virtual void ReadWhole(IFileContentVisitor& visitor, const std::string& uuid, - OrthancPluginContentType type); + OrthancPluginContentType type) ORTHANC_OVERRIDE; virtual void ReadRange(IFileContentVisitor& visitor, const std::string& uuid, OrthancPluginContentType type, uint64_t start, - size_t length); + size_t length) ORTHANC_OVERRIDE; virtual void Remove(const std::string& uuid, - OrthancPluginContentType type); + OrthancPluginContentType type) ORTHANC_OVERRIDE; }; void SetDatabase(IDatabase* database); // Takes ownership