aboutsummaryrefslogtreecommitdiff
path: root/zenstore/blockstore.cpp
diff options
context:
space:
mode:
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;