Fix merge
This commit is contained in:
parent
e7ac9bec57
commit
9c1a12c063
@ -63,7 +63,7 @@ uint64_t InMemoryBlockStore::blockSizeFromPhysicalBlockSize(uint64_t blockSize)
|
|||||||
|
|
||||||
void InMemoryBlockStore::forEachBlock(std::function<void (const Key &)> callback) const {
|
void InMemoryBlockStore::forEachBlock(std::function<void (const Key &)> callback) const {
|
||||||
for (const auto &entry : _blocks) {
|
for (const auto &entry : _blocks) {
|
||||||
callback(Key::FromString(entry.first));
|
callback(entry.first);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -86,7 +86,7 @@ uint64_t FakeBlockStore::blockSizeFromPhysicalBlockSize(uint64_t blockSize) cons
|
|||||||
|
|
||||||
void FakeBlockStore::forEachBlock(std::function<void (const Key &)> callback) const {
|
void FakeBlockStore::forEachBlock(std::function<void (const Key &)> callback) const {
|
||||||
for (const auto &entry : _blocks) {
|
for (const auto &entry : _blocks) {
|
||||||
callback(Key::FromString(entry.first));
|
callback(entry.first);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user