Various linux fixes and missing includes

p4#: 20976
This commit is contained in:
Magne Sjaastad
2013-03-20 06:11:45 +01:00
parent 27dee4d4e2
commit 50206b9dc4
8 changed files with 17 additions and 10 deletions

View File

@@ -46,7 +46,7 @@ void RigStatistics::addNamedResult(RigReservoirCellResults* destinationCellResul
// Initializes the size of the destination dataset to active union cell count
for (int i = 0; i < sourceTimeStepDates.size(); i++)
for (size_t i = 0; i < sourceTimeStepDates.size(); i++)
{
dataValues[i].resize(activeUnionCellCount, HUGE_VAL);
}

View File

@@ -20,6 +20,7 @@
#include "cafPdmObject.h"
#include "cafPdmPointer.h"
#include "cafPdmDocument.h"
#include "cafUiTreeModelPdm.h"
#include <QMimeData>
@@ -45,7 +46,8 @@ public:
{
}
MimeDataWithIndexes(const MimeDataWithIndexes & other)
MimeDataWithIndexes(const MimeDataWithIndexes & other) : QMimeData()
{
setIndexes(other.indexes());
}

View File

@@ -18,6 +18,8 @@
#include "RIStdInclude.h"
#include "cafPdmDocument.h"
#include "RimUiTreeView.h"
#include "RimUiTreeModelPdm.h"
#include "RimReservoirView.h"

View File

@@ -23,7 +23,10 @@
#include <QTreeView>
class QItemSelection;
class PdmObjectGroup;
namespace caf {
class PdmObjectGroup;
}
//==================================================================================================
///