Merge pull request #6870 from akva2/use_ranges_reverse

replace std::reverse with std::ranges::reverse where appropriate
This commit is contained in:
Bård Skaflestad authored and GitHub committed 2026-02-24 12:07:47 +01:00
commit e50c7aec2f
1 file changed
+1 -1
+1 -1
View File
@@ -838,7 +838,7 @@ GroupStateHelper<Scalar, IndexTraits>::groupChainTopBot(const std::string& botto
assert(chain.back() == top);
// Reverse order and return.
std::reverse(chain.begin(), chain.end());
std::ranges::reverse(chain);
return chain;
}