Skip to content

Commit b9f6aac

Browse files
committed
ensure constness
1 parent 072ccf1 commit b9f6aac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Framework/Core/include/Framework/DataSpecViews.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ struct update_input_list {
5858
template <std::ranges::input_range R>
5959
friend Container& operator|(R&& r, update_input_list self)
6060
{
61-
for (auto& item : r) {
61+
for (auto const& item : r) {
6262
auto copy = item;
6363
DataSpecUtils::updateInputList(self.c, std::move(copy));
6464
}
@@ -73,7 +73,7 @@ struct update_output_list {
7373
template <std::ranges::input_range R>
7474
friend Container& operator|(R&& r, update_output_list self)
7575
{
76-
for (auto& item : r) {
76+
for (auto const& item : r) {
7777
auto copy = item;
7878
DataSpecUtils::updateOutputList(self.c, std::move(copy));
7979
}

0 commit comments

Comments
 (0)