mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-24 07:16:53 -06:00
Linux fix: No default cast from QString to QString&
This commit is contained in:
parent
da108bfb03
commit
70a98ab8fd
@ -125,7 +125,8 @@ cvf::ref<RigResultAccessObject> RigResultAccessObjectFactory::createResultAccess
|
||||
cvf::ref<RigCombTransResultAccessObject> cellFaceAccessObject = new RigCombTransResultAccessObject(grid, uiResultName);
|
||||
|
||||
{
|
||||
cvf::ref<RigResultAccessObject> nativeAccessObject = RigResultAccessObjectFactory::createNativeDataAccessObject(eclipseCase, gridIndex, porosityModel, timeStepIndex, QString("TRANX"));
|
||||
QString resultName = "TRANX";
|
||||
cvf::ref<RigResultAccessObject> nativeAccessObject = RigResultAccessObjectFactory::createNativeDataAccessObject(eclipseCase, gridIndex, porosityModel, timeStepIndex, resultName);
|
||||
if (nativeAccessObject.notNull())
|
||||
{
|
||||
cellFaceAccessObject->setDataAccessObjectForFace(cvf::StructGridInterface::POS_I, nativeAccessObject.p());
|
||||
@ -133,7 +134,8 @@ cvf::ref<RigResultAccessObject> RigResultAccessObjectFactory::createResultAccess
|
||||
}
|
||||
|
||||
{
|
||||
cvf::ref<RigResultAccessObject> nativeAccessObject = RigResultAccessObjectFactory::createNativeDataAccessObject(eclipseCase, gridIndex, porosityModel, timeStepIndex, QString("TRANY"));
|
||||
QString resultName = "TRANY";
|
||||
cvf::ref<RigResultAccessObject> nativeAccessObject = RigResultAccessObjectFactory::createNativeDataAccessObject(eclipseCase, gridIndex, porosityModel, timeStepIndex, resultName);
|
||||
if (nativeAccessObject.notNull())
|
||||
{
|
||||
cellFaceAccessObject->setDataAccessObjectForFace(cvf::StructGridInterface::POS_J, nativeAccessObject.p());
|
||||
@ -141,7 +143,8 @@ cvf::ref<RigResultAccessObject> RigResultAccessObjectFactory::createResultAccess
|
||||
}
|
||||
|
||||
{
|
||||
cvf::ref<RigResultAccessObject> nativeAccessObject = RigResultAccessObjectFactory::createNativeDataAccessObject(eclipseCase, gridIndex, porosityModel, timeStepIndex, QString("TRANZ"));
|
||||
QString resultName = "TRANZ";
|
||||
cvf::ref<RigResultAccessObject> nativeAccessObject = RigResultAccessObjectFactory::createNativeDataAccessObject(eclipseCase, gridIndex, porosityModel, timeStepIndex, resultName);
|
||||
if (nativeAccessObject.notNull())
|
||||
{
|
||||
cellFaceAccessObject->setDataAccessObjectForFace(cvf::StructGridInterface::POS_K, nativeAccessObject.p());
|
||||
|
Loading…
Reference in New Issue
Block a user