mirror of
https://gitee.com/openharmony/third_party_rust_cxx
synced 2025-02-17 06:57:37 +00:00
Revert "Fix blobstore compilation on macOS and MSVC"
This reverts commit ced948046e121392735f42faad8cf304d9ddfd98.
This commit is contained in:
parent
1d0266aaa3
commit
cbc2a1040d
@ -16,8 +16,8 @@ public:
|
||||
BlobMetadata metadata(uint64_t blobid) const;
|
||||
|
||||
private:
|
||||
class Impl;
|
||||
std::shared_ptr<Impl> impl;
|
||||
class impl;
|
||||
std::shared_ptr<impl> impl;
|
||||
};
|
||||
|
||||
std::unique_ptr<BlobstoreClient> new_blobstore_client();
|
||||
|
@ -13,7 +13,7 @@ namespace blobstore {
|
||||
//
|
||||
// In reality the implementation of BlobstoreClient could be a large complex C++
|
||||
// library.
|
||||
class BlobstoreClient::Impl {
|
||||
class BlobstoreClient::impl {
|
||||
friend BlobstoreClient;
|
||||
using Blob = struct {
|
||||
std::string data;
|
||||
@ -22,7 +22,7 @@ class BlobstoreClient::Impl {
|
||||
std::unordered_map<uint64_t, Blob> blobs;
|
||||
};
|
||||
|
||||
BlobstoreClient::BlobstoreClient() : impl(new BlobstoreClient::Impl) {}
|
||||
BlobstoreClient::BlobstoreClient() : impl(new typename BlobstoreClient::impl) {}
|
||||
|
||||
// Upload a new blob and return a blobid that serves as a handle to the blob.
|
||||
uint64_t BlobstoreClient::put(MultiBuf &buf) const {
|
||||
|
Loading…
x
Reference in New Issue
Block a user