Skip to content

Commit 27d5135

Browse files
committed
updated to only include tracking for s3_express
1 parent e117d9c commit 27d5135

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/aws-cpp-sdk-transfer/source/transfer/TransferManager.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@ namespace Aws
151151
const Aws::Map<Aws::String, Aws::String>& metadata,
152152
const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context,
153153
const Aws::String& precalculatedChecksum) {
154-
155154
// destructor of FStream will close stream automatically (when out of scope), no need to call close explicitly
156155
#ifdef _MSC_VER
157156
auto wide = Aws::Utils::StringUtils::ToWString(fileName.c_str());
@@ -170,7 +169,6 @@ namespace Aws
170169
const Aws::Map<Aws::String, Aws::String>& metadata,
171170
const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context,
172171
const Aws::String& precalculatedChecksum) {
173-
174172
auto handle =
175173
CreateUploadFileHandle(fileStream.get(), bucketName, keyName, contentType, metadata, context, "", precalculatedChecksum);
176174
return SubmitUpload(handle, fileStream);
@@ -183,7 +181,6 @@ namespace Aws
183181
const Aws::String& writeToFile,
184182
const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context)
185183
{
186-
187184
auto handle = Aws::MakeShared<TransferHandle>(CLASS_TAG, bucketName, keyName, writeToStreamfn, writeToFile);
188185
handle->ApplyDownloadConfiguration(downloadConfig);
189186
handle->SetContext(context);
@@ -208,7 +205,6 @@ namespace Aws
208205
const Aws::String& writeToFile,
209206
const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context)
210207
{
211-
212208
auto handle = Aws::MakeShared<TransferHandle>(CLASS_TAG, bucketName, keyName, fileOffset, downloadBytes, writeToStreamfn, writeToFile);
213209
handle->ApplyDownloadConfiguration(downloadConfig);
214210
handle->SetContext(context);
@@ -230,7 +226,6 @@ namespace Aws
230226
const DownloadConfiguration& downloadConfig,
231227
const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context)
232228
{
233-
234229
#ifdef _MSC_VER
235230
auto createFileFn = [=]() { return Aws::New<Aws::FStream>(CLASS_TAG, Aws::Utils::StringUtils::ToWString(writeToFile.c_str()).c_str(),
236231
std::ios_base::out | std::ios_base::in | std::ios_base::binary | std::ios_base::trunc);};

0 commit comments

Comments
 (0)