# HG changeset patch # User Alain Mazy # Date 1719241638 -7200 # Node ID 80657f326c68d1d6cf12d4aebda27515588aa4b8 # Parent f7654d48122659dd25185fdd370548f8bc2cca6a fix Google plugin build diff -r f7654d481226 -r 80657f326c68 Google/GoogleStoragePlugin.cpp --- 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);