diff options
Diffstat (limited to 'storageapi')
-rw-r--r-- | storageapi/src/vespa/storageapi/mbusprot/storagereply.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/storageapi/src/vespa/storageapi/mbusprot/storagereply.cpp b/storageapi/src/vespa/storageapi/mbusprot/storagereply.cpp index 0165348968e..f91893ea355 100644 --- a/storageapi/src/vespa/storageapi/mbusprot/storagereply.cpp +++ b/storageapi/src/vespa/storageapi/mbusprot/storagereply.cpp @@ -4,7 +4,6 @@ #include <vespa/storageapi/mbusprot/storagecommand.h> -using vespalib::DefaultAlloc; using vespalib::alloc::Alloc; using vespalib::IllegalStateException; @@ -14,7 +13,7 @@ namespace mbusprot { StorageReply::StorageReply(const mbus::BlobRef& data, const ProtocolSerialization& serializer) : _serializer(&serializer), - _buffer(DefaultAlloc::create(data.size())), + _buffer(Alloc::alloc(data.size())), _mbusType(0), _reply() { |