aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/s3.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/s3.hh')
-rw-r--r--src/libstore/s3.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libstore/s3.hh b/src/libstore/s3.hh
index 2042bffcf..3f55c74db 100644
--- a/src/libstore/s3.hh
+++ b/src/libstore/s3.hh
@@ -4,6 +4,8 @@
#include "ref.hh"
+#include <optional>
+
namespace Aws { namespace Client { class ClientConfiguration; } }
namespace Aws { namespace S3 { class S3Client; } }
@@ -20,7 +22,7 @@ struct S3Helper
struct FileTransferResult
{
- std::shared_ptr<std::string> data;
+ std::optional<std::string> data;
unsigned int durationMs;
};