diff --git a/ApplicationLibCode/ProjectDataModel/WellPath/RimWellPathCollection.cpp b/ApplicationLibCode/ProjectDataModel/WellPath/RimWellPathCollection.cpp index 2561405687..6f16c0f8cf 100644 --- a/ApplicationLibCode/ProjectDataModel/WellPath/RimWellPathCollection.cpp +++ b/ApplicationLibCode/ProjectDataModel/WellPath/RimWellPathCollection.cpp @@ -226,7 +226,7 @@ bool RimWellPathCollection::loadDataAndUpdate() return false; }; - auto countWellLogs = []( const std::vector& wellPaths ) -> bool + auto countWellLogs = []( const std::vector& wellPaths ) -> size_t { size_t count = 0; for ( RimWellPath* wellPath : wellPaths )