add const qualifiers for CreateBatch() (#3800)
This commit is contained in:
parent
803dfb5938
commit
cb1c35eb77
@ -291,7 +291,7 @@ namespace Azure { namespace Storage { namespace Blobs {
|
||||
*
|
||||
* @return A new batch object.
|
||||
*/
|
||||
BlobContainerBatch CreateBatch();
|
||||
BlobContainerBatch CreateBatch() const;
|
||||
|
||||
/**
|
||||
* @brief Submits a batch of subrequests.
|
||||
|
||||
@ -251,7 +251,7 @@ namespace Azure { namespace Storage { namespace Blobs {
|
||||
*
|
||||
* @return A new batch object.
|
||||
*/
|
||||
BlobServiceBatch CreateBatch();
|
||||
BlobServiceBatch CreateBatch() const;
|
||||
|
||||
/**
|
||||
* @brief Submits a batch of subrequests.
|
||||
|
||||
@ -467,7 +467,7 @@ namespace Azure { namespace Storage { namespace Blobs {
|
||||
std::move(blockBlobClient), std::move(response.RawResponse));
|
||||
}
|
||||
|
||||
BlobContainerBatch BlobContainerClient::CreateBatch() { return BlobContainerBatch(*this); }
|
||||
BlobContainerBatch BlobContainerClient::CreateBatch() const { return BlobContainerBatch(*this); }
|
||||
|
||||
Response<Models::SubmitBlobBatchResult> BlobContainerClient::SubmitBatch(
|
||||
const BlobContainerBatch& batch,
|
||||
|
||||
@ -310,7 +310,7 @@ namespace Azure { namespace Storage { namespace Blobs {
|
||||
std::move(blobContainerClient), std::move(response.RawResponse));
|
||||
}
|
||||
|
||||
BlobServiceBatch BlobServiceClient::CreateBatch() { return BlobServiceBatch(*this); }
|
||||
BlobServiceBatch BlobServiceClient::CreateBatch() const { return BlobServiceBatch(*this); }
|
||||
|
||||
Response<Models::SubmitBlobBatchResult> BlobServiceClient::SubmitBatch(
|
||||
const BlobServiceBatch& batch,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user