summaryrefslogtreecommitdiffstats
path: root/storageframework
diff options
context:
space:
mode:
authorGeir Storli <geirst@yahoo-inc.com>2017-04-04 19:23:13 +0000
committerGeir Storli <geirst@yahoo-inc.com>2017-04-05 07:49:16 +0000
commitae812c64492160223a0a3e674f38c2d5a59c2663 (patch)
tree75835e5e0e833a9c7cc3e2d4a853a489d5aaa202 /storageframework
parentd8b05c79c106204ee76726aff4d3f0cb84d8fc99 (diff)
Change schema::DataType and schema::CollectionType to enum class.
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;