aboutsummaryrefslogtreecommitdiff
path: root/zenstore/blockstore.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2022-05-03 09:29:19 +0200
committerDan Engelbrecht <[email protected]>2022-05-03 09:29:19 +0200
commitaf21c74a4cb0cb6f479c4cc15830eee5070d9ae3 (patch)
tree3545e938ff434f7e3675a4e87c9703546b43a826 /zenstore/blockstore.cpp
parentswitched back memory_order for m_TotalSize to relaxed (diff)
downloadzen-af21c74a4cb0cb6f479c4cc15830eee5070d9ae3.tar.xz
zen-af21c74a4cb0cb6f479c4cc15830eee5070d9ae3.zip
cleanup
Diffstat (limited to 'zenstore/blockstore.cpp')
-rw-r--r--zenstore/blockstore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/zenstore/blockstore.cpp b/zenstore/blockstore.cpp
index 2573863a8..f0a798e36 100644
--- a/zenstore/blockstore.cpp
+++ b/zenstore/blockstore.cpp
@@ -773,7 +773,7 @@ BlockStore::Split(const std::vector<BlockStoreLocation>& ChunkLocations,
ChunkIndexes.push_back(Index);
}
- std::sort(begin(ChunkIndexes), end(ChunkIndexes), [&ChunkLocations](size_t Lhs, size_t Rhs) {
+ std::sort(begin(ChunkIndexes), end(ChunkIndexes), [&](size_t Lhs, size_t Rhs) {
const BlockStoreLocation& LhsLocation = ChunkLocations[Lhs];
const BlockStoreLocation& RhsLocation = ChunkLocations[Rhs];
return LhsLocation.Offset < RhsLocation.Offset;