1
0
mirror of https://github.com/winscp/winscp.git synced 2026-10-24 02:28:55 +03:00

Using unique_ptr instead of auto_ptr + Replacing use of auto_ptr, where unique_ptr cannot be used with plain pointers

Source commit: 0c397b15f93f20fcb52bdd7c8747aae8429f8b1e
This commit is contained in:
Martin Prikryl
2022-10-05 14:47:19 +00:00
parent 8eec3c14ee
commit 2fdcc0e6ad
6 changed files with 16 additions and 15 deletions

View File

@@ -1735,7 +1735,7 @@ struct TLibS3TransferObjectDataCallbackData : TLibS3CallbackData
UnicodeString FileName;
TStream * Stream;
TFileOperationProgressType * OperationProgress;
std::auto_ptr<Exception> Exception;
std::unique_ptr<Exception> Exception;
};
//---------------------------------------------------------------------------
struct TLibS3PutObjectDataCallbackData : TLibS3TransferObjectDataCallbackData