mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-11-02 20:30:55 -06: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);
|
assert(chain.back() == top);
|
||||||
|
|
||||||
// Reverse order and return.
|
// Reverse order and return.
|
||||||
std::reverse(chain.begin(), chain.end());
|
std::ranges::reverse(chain);
|
||||||
return chain;
|
return chain;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user