mirror of
https://github.com/OPM/ResInsight.git
synced 2026-09-03 20:53:13 -05:00
Linux : Fix compiler issues
This commit is contained in:
@@ -669,7 +669,9 @@ void RimFishbonesMultipleSubs::computeSubLateralIndices()
|
|||||||
m_subLateralIndices.clear();
|
m_subLateralIndices.clear();
|
||||||
for (size_t subIndex = 0; subIndex < m_locationOfSubs().size(); ++subIndex)
|
for (size_t subIndex = 0; subIndex < m_locationOfSubs().size(); ++subIndex)
|
||||||
{
|
{
|
||||||
SubLateralIndex subLateralIndex{ subIndex };
|
SubLateralIndex subLateralIndex;
|
||||||
|
subLateralIndex.subIndex = subIndex;
|
||||||
|
|
||||||
for (size_t lateralIndex = 0; lateralIndex < m_lateralCountPerSub(); ++lateralIndex)
|
for (size_t lateralIndex = 0; lateralIndex < m_lateralCountPerSub(); ++lateralIndex)
|
||||||
{
|
{
|
||||||
subLateralIndex.lateralIndices.push_back(lateralIndex);
|
subLateralIndex.lateralIndices.push_back(lateralIndex);
|
||||||
|
|||||||
@@ -740,7 +740,7 @@ void RimView::addDynamicWellPathsToModel(cvf::ModelBasicList* wellPathModelBasic
|
|||||||
|
|
||||||
QDateTime currentTimeStamp;
|
QDateTime currentTimeStamp;
|
||||||
std::vector<QDateTime> timeStamps = ownerCase()->timeStepDates();
|
std::vector<QDateTime> timeStamps = ownerCase()->timeStepDates();
|
||||||
if (currentTimeStep() < timeStamps.size())
|
if (currentTimeStep() < static_cast<int>(timeStamps.size()))
|
||||||
{
|
{
|
||||||
currentTimeStamp = timeStamps[currentTimeStep()];
|
currentTimeStamp = timeStamps[currentTimeStep()];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user