Fix linux compile error and warning

This commit is contained in:
Jacob Støren 2017-10-25 19:44:04 +02:00
parent 12d0457e90
commit c4bc81b2cc
2 changed files with 4 additions and 1 deletions

View File

@ -51,6 +51,8 @@
CAF_PDM_SOURCE_INIT(RimWellPltPlot, "WellPltPlot");
namespace caf
{
template<>
void caf::AppEnum< RimWellPltPlot::FlowType>::setUp()
{
@ -65,6 +67,7 @@ void caf::AppEnum< RimWellPltPlot::FlowPhase>::setUp()
addItem(RimWellPltPlot::PHASE_GAS, "PHASE_GAS", "Gas");
addItem(RimWellPltPlot::PHASE_WATER, "PHASE_WATER", "Water");
}
}
const QString RimWellPltPlot::OIL_CHANNEL_NAME = "QOZT";
const QString RimWellPltPlot::GAS_CHANNEL_NAME = "QGZT";

View File

@ -655,7 +655,7 @@ void RimWellPath::addWellLogFile(RimWellLogFile* logFileInfo)
//--------------------------------------------------------------------------------------------------
void RimWellPath::removeWellLogFile(const RimWellLogFile* logFileInfo)
{
for (int i = 0; i < m_wellLogFiles.size(); i++)
for (size_t i = 0; i < m_wellLogFiles.size(); i++)
{
if (m_wellLogFiles[i] == logFileInfo)
{