Skip to content

Commit

Permalink
loop declaration fix for cf
Browse files Browse the repository at this point in the history
veedata authored Oct 24, 2022
1 parent 9241320 commit 2b49067
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/db_impl/db_impl_secondary.cc
Original file line number Diff line number Diff line change
@@ -621,7 +621,7 @@ Status DBImplSecondary::TryCatchUpWithPrimary(const std::vector<ColumnFamilyHand
Status s;
std::unordered_set<ColumnFamilyData*> cfds_changed;

for (auto cfh : column_families) {
for (auto column_family : column_families) {
auto cfh = static_cast_with_check<ColumnFamilyHandleImpl>(column_family);
assert(cfh != nullptr);
auto cfd = cfh->cfd();

0 comments on commit 2b49067

Please sign in to comment.