diff --git a/src/blockstore/implementations/inmemory/InMemoryBlockStore2.cpp b/src/blockstore/implementations/inmemory/InMemoryBlockStore2.cpp index 8442c1a3..1950690d 100644 --- a/src/blockstore/implementations/inmemory/InMemoryBlockStore2.cpp +++ b/src/blockstore/implementations/inmemory/InMemoryBlockStore2.cpp @@ -57,6 +57,7 @@ future InMemoryBlockStore2::store(const Key &key, const Data &data) { } }); } + // TODO Would have better performance: found->second.overwriteWith(data) found->second = data.copy(); return make_ready_future(); }