typename -> class to fix macOS and MSVC

This commit is contained in:
David Tolnay 2020-11-11 09:58:34 -08:00
parent cbc2a1040d
commit e0d261ba2b
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -22,7 +22,7 @@ class BlobstoreClient::impl {
std::unordered_map<uint64_t, Blob> blobs;
};
BlobstoreClient::BlobstoreClient() : impl(new typename BlobstoreClient::impl) {}
BlobstoreClient::BlobstoreClient() : impl(new class 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 {