mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Removed compiler warnings
This commit is contained in:
parent
6bd8a4d51a
commit
d8f75a32c6
@ -96,7 +96,7 @@ void RimWellAllocationPlot::deleteViewWidget()
|
||||
void RimWellAllocationPlot::updateFromWell()
|
||||
{
|
||||
QString simName = "None";
|
||||
size_t branchCount = 0;
|
||||
int branchCount = 0;
|
||||
|
||||
const RigWellResultFrame* wellResultFrame = nullptr;
|
||||
|
||||
@ -104,10 +104,10 @@ void RimWellAllocationPlot::updateFromWell()
|
||||
{
|
||||
simName = m_simulationWell->name();
|
||||
wellResultFrame = &(m_simulationWell->wellResults()->wellResultFrame(1));
|
||||
branchCount = wellResultFrame->m_wellResultBranches.size();
|
||||
branchCount = static_cast<int>( wellResultFrame->m_wellResultBranches.size());
|
||||
}
|
||||
|
||||
size_t existingTrackCount = accumulatedWellFlowPlot()->trackCount();
|
||||
int existingTrackCount = static_cast<int>(accumulatedWellFlowPlot()->trackCount());
|
||||
accumulatedWellFlowPlot()->setDescription("Accumulated Well Flow (" + simName + ")");
|
||||
|
||||
int neededExtraTrackCount = branchCount - existingTrackCount;
|
||||
|
Loading…
Reference in New Issue
Block a user