mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Support older clang.
Bump version to dev.05
This commit is contained in:
committed by
Magne Sjaastad
parent
850b1a1894
commit
d6ae8188e0
@@ -33,8 +33,6 @@
|
||||
|
||||
#include "cafHexGridIntersectionTools/cafHexGridIntersectionTools.h"
|
||||
|
||||
#include <ranges>
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -579,10 +577,14 @@ void RigFaultReactivationModelGenerator::splitLargeLayers( std::map<double, cvf:
|
||||
const int nLayers = (int)layers.size();
|
||||
const int nKLayers = (int)kLayers.size();
|
||||
|
||||
auto kv = std::views::keys( layers );
|
||||
std::vector<double> keys{ kv.begin(), kv.end() };
|
||||
auto vv = std::views::values( layers );
|
||||
std::vector<cvf::Vec3d> vals{ vv.begin(), vv.end() };
|
||||
std::vector<double> keys;
|
||||
std::vector<cvf::Vec3d> vals;
|
||||
|
||||
for ( auto& layer : layers )
|
||||
{
|
||||
keys.push_back( layer.first );
|
||||
vals.push_back( layer.second );
|
||||
}
|
||||
|
||||
for ( int k = 0; k < nLayers; k++ )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user