#2995 Plot editor. Fix build error on Linux

This commit is contained in:
Bjørn Erik Jensen 2018-05-29 09:23:10 +02:00
parent 0579c201dc
commit 7d2b3f159b

View File

@ -383,7 +383,7 @@ void RiuSummaryCurveDefSelection::setDefaultSelection(const std::vector<SummaryS
auto allSumCases = proj->allSummaryCases();
auto allSumGroups = proj->summaryGroups();
bool hasEnsembles = std::count_if(allSumGroups.begin(), allSumGroups.end(),
[](const auto& sumGroup) { return sumGroup->isEnsemble(); }) > 0;
[](const RimSummaryCaseCollection* sumGroup) { return sumGroup->isEnsemble(); }) > 0;
if (allSumCases.size() > 0 && !hasEnsembles)
{