summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2016-10-16 19:47:08 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2016-10-16 19:47:08 +0000
commit3dc92c36aa6f58a2ce2f57089501364dab6a44bc (patch)
treed48b2ca1cee14621dd7c51e3a6ba089ca18e43fe /config
parent1ab845031009400d8222f2c4affffaeaba3ccd71 (diff)
Remove the XXXFactory indirection. Just use static method on Alloc.
Diffstat (limited to 'config')
-rw-r--r--config/src/vespa/config/frt/protocol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/src/vespa/config/frt/protocol.cpp b/config/src/vespa/config/frt/protocol.cpp
index 5c7af53d2af..43eba571083 100644
--- a/config/src/vespa/config/frt/protocol.cpp
+++ b/config/src/vespa/config/frt/protocol.cpp
@@ -59,7 +59,7 @@ const Memory RESPONSE_COMPRESSION_INFO_UNCOMPRESSED_SIZE = "uncompressedSize";
DecompressedData
decompress_lz4(const char * input, uint32_t inputLen, int uncompressedLength)
{
- Alloc memory( DefaultAlloc::create(uncompressedLength));
+ Alloc memory( Alloc::alloc(uncompressedLength));
int sz = LZ4_decompress_safe(input, static_cast<char *>(memory.get()), inputLen, uncompressedLength);
if (sz >= 0 && sz != uncompressedLength) {
if (LOG_WOULD_LOG(debug)) {