#2545 Move fields from public to private

This commit is contained in:
Magne Sjaastad
2018-03-01 07:51:30 +01:00
parent bb0f026644
commit ef2179f1ba
19 changed files with 181 additions and 128 deletions

View File

@@ -105,15 +105,15 @@ void RicfExportSimWellCompletions::execute()
std::vector<RimSimWellInView*> simWells;
if (m_wellPathNames().empty())
{
std::copy(view->wellCollection->wells.begin(),
view->wellCollection->wells.end(),
std::copy(view->wellCollection()->wells.begin(),
view->wellCollection()->wells.end(),
std::back_inserter(simWells));
}
else
{
for (const QString& wellPathName : m_wellPathNames())
{
RimSimWellInView* simWell = view->wellCollection->findWell(wellPathName);
RimSimWellInView* simWell = view->wellCollection()->findWell(wellPathName);
if (simWell)
{
simWells.push_back(simWell);