Skip to content

Commit 00bec20

Browse files
Requested fix : Remove const modifier from loop
Co-authored-by: Twice <[email protected]>
1 parent 2af0d84 commit 00bec20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types/redis_json.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ rocksdb::Status Json::MSet(engine::Context &ctx, const std::vector<std::string>
610610
dirty_keys[ns_keys[i]] = std::make_pair(value, metadata);
611611
}
612612

613-
for (const auto &[ns_key, updated_object] : dirty_keys) {
613+
for (auto &[ns_key, updated_object] : dirty_keys) {
614614
auto &[value, metadata] = updated_object;
615615
auto format = storage_->GetConfig()->json_storage_format;
616616
metadata.format = format;

0 commit comments

Comments
 (0)