Revert "Fix blobstore compilation on macOS and MSVC"

This reverts commit ced948046e121392735f42faad8cf304d9ddfd98.
This commit is contained in:
David Tolnay 2020-11-11 09:58:01 -08:00
parent 1d0266aaa3
commit cbc2a1040d
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82
2 changed files with 4 additions and 4 deletions

View File

@ -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();

View File

@ -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 {