diff options
author | Stéphan Kochen <git@stephank.nl> | 2020-12-04 19:32:35 +0100 |
---|---|---|
committer | Stéphan Kochen <git@stephank.nl> | 2020-12-04 19:36:09 +0100 |
commit | e20a3ec756c61b076d5fbaea6d976c8ee7fa4c07 (patch) | |
tree | cbeeb0f103097b6aa226752628e59afbd9a2b1dc /src/libstore/s3-binary-cache-store.cc | |
parent | 45645b6f3b6c45f20a7bece6da395c3e095aedd0 (diff) |
Fix compatibility with newer AWS SDKs
Tested against AWS SDK 1.8.99. Fixes #3201.
Diffstat (limited to 'src/libstore/s3-binary-cache-store.cc')
-rw-r--r-- | src/libstore/s3-binary-cache-store.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libstore/s3-binary-cache-store.cc b/src/libstore/s3-binary-cache-store.cc index 4519dd5b5..27253fc12 100644 --- a/src/libstore/s3-binary-cache-store.cc +++ b/src/libstore/s3-binary-cache-store.cc @@ -57,6 +57,10 @@ class AwsLogger : public Aws::Utils::Logging::FormattedLogSystem { debug("AWS: %s", chomp(statement)); } + +#if !(AWS_VERSION_MAJOR <= 1 && AWS_VERSION_MINOR <= 7 && AWS_VERSION_PATCH <= 115) + void Flush() override {} +#endif }; static void initAWS() |