Fix linux compile issues

This commit is contained in:
Jacob Støren 2018-02-09 16:47:24 +01:00
parent d86b6f690e
commit c6846f0d57
2 changed files with 2 additions and 1 deletions

View File

@ -37,6 +37,7 @@
#pragma once #pragma once
#include "cvfBase.h"
#include "cvfOverlayItem.h" #include "cvfOverlayItem.h"
#include "cvfArray.h" #include "cvfArray.h"
#include "cvfCamera.h" #include "cvfCamera.h"

View File

@ -244,7 +244,7 @@ QList<caf::PdmOptionItemInfo> RimTensorResults::calculateValueOptions(const caf:
{ {
std::vector<std::string> fieldCompNames = getResultMetaDataForUIFieldSetting(); std::vector<std::string> fieldCompNames = getResultMetaDataForUIFieldSetting();
for (int oIdx = 0; oIdx < fieldCompNames.size(); ++oIdx) for (size_t oIdx = 0; oIdx < fieldCompNames.size(); ++oIdx)
{ {
options.push_back(caf::PdmOptionItemInfo(QString::fromStdString(fieldCompNames[oIdx]), QString::fromStdString(fieldCompNames[oIdx]))); options.push_back(caf::PdmOptionItemInfo(QString::fromStdString(fieldCompNames[oIdx]), QString::fromStdString(fieldCompNames[oIdx])));
} }