This commit is contained in:
Sebastian Messmer 2017-07-07 18:09:29 +02:00
parent 13be2908d0
commit 0942275d8c

View File

@ -57,6 +57,7 @@ future<void> InMemoryBlockStore2::store(const Key &key, const Data &data) {
} }
}); });
} }
// TODO Would have better performance: found->second.overwriteWith(data)
found->second = data.copy(); found->second = data.copy();
return make_ready_future(); return make_ready_future();
} }