mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-26 15:10:22 -05:00
Replace the dynamic_cast dispatch in RimPolygonCollection::loadData() with a virtual loadData() on RimPolygonContainer. The base recurses through subCollections; RimPolygonFile overrides to load file data. The folder RimPolygonCollection no longer needs its own loadData(). Move RimPolygonFile::canAddSubCollection() and RimPolygonInView::sourceItem() implementations from headers to .cpp. Simplify std::unexpected calls in RimcNestedCollectionBase by removing redundant explicit QString construction.