summaryrefslogtreecommitdiffstats
path: root/storageframework
diff options
context:
space:
mode:
Diffstat (limited to 'storageframework')
-rw-r--r--storageframework/src/vespa/storageframework/defaultimplementation/memory/simplememorylogic.cpp4
-rw-r--r--storageframework/src/vespa/storageframework/defaultimplementation/memory/simplememorylogic.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/storageframework/src/vespa/storageframework/defaultimplementation/memory/simplememorylogic.cpp b/storageframework/src/vespa/storageframework/defaultimplementation/memory/simplememorylogic.cpp
index b02e1944368..55723eec558 100644
--- a/storageframework/src/vespa/storageframework/defaultimplementation/memory/simplememorylogic.cpp
+++ b/storageframework/src/vespa/storageframework/defaultimplementation/memory/simplememorylogic.cpp
@@ -20,6 +20,10 @@ SimpleMemoryLogic::SimpleMemoryLogic(Clock& c, uint64_t maxMemory)
LOG(debug, "Setup simple memory logic with max memory of %" PRIu64 " bytes", maxMemory);
}
+SimpleMemoryLogic::~SimpleMemoryLogic()
+{
+}
+
void
SimpleMemoryLogic::setMaximumMemoryUsage(uint64_t max)
{
diff --git a/storageframework/src/vespa/storageframework/defaultimplementation/memory/simplememorylogic.h b/storageframework/src/vespa/storageframework/defaultimplementation/memory/simplememorylogic.h
index 5a8df6441f1..8cbb8d13111 100644
--- a/storageframework/src/vespa/storageframework/defaultimplementation/memory/simplememorylogic.h
+++ b/storageframework/src/vespa/storageframework/defaultimplementation/memory/simplememorylogic.h
@@ -59,6 +59,8 @@ public:
SimpleMemoryLogic(Clock&, uint64_t maxMemory);
+ ~SimpleMemoryLogic();
+
SimpleMemoryLogic& setMinJumpToUpdateMax(uint32_t bytes) {
_state.setMinJumpToUpdateMax(bytes);
return *this;