From 6ead7d1c3a64203673d766d273029cf53cc4486a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 22 Dec 2024 01:31:54 +0000 Subject: [PATCH] Automated fixes by clang-tidy --- test-suite/calendars.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-suite/calendars.cpp b/test-suite/calendars.cpp index 15eb261e3e..ae422ca521 100644 --- a/test-suite/calendars.cpp +++ b/test-suite/calendars.cpp @@ -3379,7 +3379,7 @@ BOOST_AUTO_TEST_CASE(testNewZealand) { auto auckland = NewZealand(NewZealand::Auckland); auto wellington = NewZealand(NewZealand::Wellington); - for (auto calendar: { auckland, wellington }) { + for (const auto& calendar: { auckland, wellington }) { // mid-week New Year's day BOOST_TEST(calendar.isHoliday({1, January, 2025})); BOOST_TEST(calendar.isHoliday({2, January, 2025}));