Mercurial > hg > orthanc-object-storage
changeset 162:80657f326c68
fix Google plugin build
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Mon, 24 Jun 2024 17:07:18 +0200 |
parents | f7654d481226 |
children | 88d8841501a3 ee2c53ebdf3e |
files | Google/GoogleStoragePlugin.cpp |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/Google/GoogleStoragePlugin.cpp Sun Jun 23 15:12:06 2024 +0200 +++ b/Google/GoogleStoragePlugin.cpp Mon Jun 24 17:07:18 2024 +0200 @@ -179,7 +179,7 @@ } private: - virtual void _ReadWhole(const std::string& path, char* data, size_t size) ORTHANC_OVERRIDE + void _ReadWhole(const std::string& path, char* data, size_t size) { auto reader = client_.ReadObject(bucketName_, path); @@ -196,7 +196,7 @@ } } - virtual void _ReadRange(const std::string& path, char* data, size_t size, size_t fromOffset) ORTHANC_OVERRIDE + void _ReadRange(const std::string& path, char* data, size_t size, size_t fromOffset) { auto reader = client_.ReadObject(bucketName_, path, gcs::ReadRange(fromOffset, fromOffset + size)); @@ -213,7 +213,7 @@ } } - virtual size_t _GetSize(const std::string& path) ORTHANC_OVERRIDE + size_t _GetSize(const std::string& path) { auto objectMetadata = client_.GetObjectMetadata(bucketName_, path);