Skip to content

Commit fb502cd

Browse files
committed
add constness
1 parent 009202c commit fb502cd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Framework/Core/src/ArrowSupport.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -773,7 +773,7 @@ o2::framework::ServiceSpec ArrowSupport::arrowTableSlicingCacheSpec()
773773
.configure = CommonServices::noConfiguration(),
774774
.preProcessing = [](ProcessingContext& pc, void* service_ptr) {
775775
auto* service = static_cast<ArrowTableSlicingCache*>(service_ptr);
776-
auto& caches = service->bindingsKeys;
776+
auto const& caches = service->bindingsKeys;
777777
for (auto i = 0u; i < caches.size(); ++i) {
778778
if (caches[i].enabled && pc.inputs().getPos(caches[i].binding.c_str()) >= 0) {
779779
auto status = service->updateCacheEntry(i, pc.inputs().get<TableConsumer>(caches[i].matcher)->asArrowTable());
@@ -782,7 +782,7 @@ o2::framework::ServiceSpec ArrowSupport::arrowTableSlicingCacheSpec()
782782
}
783783
}
784784
}
785-
auto& unsortedCaches = service->bindingsKeysUnsorted;
785+
auto const& unsortedCaches = service->bindingsKeysUnsorted;
786786
for (auto i = 0u; i < unsortedCaches.size(); ++i) {
787787
if (unsortedCaches[i].enabled && pc.inputs().getPos(unsortedCaches[i].binding.c_str()) >= 0) {
788788
auto status = service->updateCacheEntryUnsorted(i, pc.inputs().get<TableConsumer>(unsortedCaches[i].matcher)->asArrowTable());

0 commit comments

Comments
 (0)