diff options
| author | Dan Engelbrecht <[email protected]> | 2022-05-03 09:29:19 +0200 |
|---|---|---|
| committer | Dan Engelbrecht <[email protected]> | 2022-05-03 09:29:19 +0200 |
| commit | af21c74a4cb0cb6f479c4cc15830eee5070d9ae3 (patch) | |
| tree | 3545e938ff434f7e3675a4e87c9703546b43a826 /zenstore/blockstore.cpp | |
| parent | switched back memory_order for m_TotalSize to relaxed (diff) | |
| download | zen-af21c74a4cb0cb6f479c4cc15830eee5070d9ae3.tar.xz zen-af21c74a4cb0cb6f479c4cc15830eee5070d9ae3.zip | |
cleanup
Diffstat (limited to 'zenstore/blockstore.cpp')
| -rw-r--r-- | zenstore/blockstore.cpp | 2 |
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; |