Linux fixes: Added missing includes

This commit is contained in:
Magne Sjaastad 2014-07-24 02:01:02 -07:00
parent a40b9554e5
commit 07139d3675
3 changed files with 5 additions and 2 deletions

View File

@ -18,13 +18,15 @@
#pragma once
#include "cvfBase.h"
#include "cvfCollection.h"
#include "cafPdmPointer.h"
#include "cvfVector3.h"
#include "cvfBoundingBox.h"
#include "cvfTransform.h"
#include "cafPdmPointer.h"
class RimWellPathCollection;
class RimProject;
class RivWellPathPartMgr;

View File

@ -30,6 +30,7 @@
#include <QFileInfo>
#include <fstream>
#include <cmath>
namespace caf
{

View File

@ -296,7 +296,7 @@ void RigMainGrid::calculateFaults()
// Add as fault face only if the grid index is less than the neighbors
if (gcIdx < neighborGlobalCellIdx)
if (static_cast<size_t>(gcIdx) < neighborGlobalCellIdx)
{
{
RigFault::FaultFace ff(gcIdx, cvf::StructGridInterface::FaceType(faceIdx), neighborGlobalCellIdx);