mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3816 Annotations : Guard assert with debug ifdef
This commit is contained in:
parent
c4cc33b624
commit
968da84051
@ -162,7 +162,12 @@ RimContourMapView* RicNewContourMapViewFeature::create2dContourMapFrom3dView(Rim
|
||||
// Resolve references after contour map has been inserted into Rim structures
|
||||
std::vector<caf::PdmFieldHandle*> fieldsWithFailingResolve;
|
||||
contourMap->resolveReferencesRecursively(&fieldsWithFailingResolve);
|
||||
|
||||
// The assert is placed inside an ifdef block for now. If we have intersections on well paths,
|
||||
// the resolving is now failing
|
||||
#ifndef NDEBUG
|
||||
CVF_ASSERT(fieldsWithFailingResolve.empty());
|
||||
#endif // NDEBUG
|
||||
|
||||
contourMap->initAfterReadRecursively();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user