mirror of
https://github.com/openharmony/third_party_rust_cxx.git
synced 2026-07-01 05:39:22 -04:00
Revert "Fix blobstore compilation on macOS and MSVC"
This reverts commit b27d01cc91.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user