mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-26 07:30:08 -05:00
Merge pull request #6870 from akva2/use_ranges_reverse
replace std::reverse with std::ranges::reverse where appropriate
This commit is contained in:
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user