From ba489fabfa5a08a67f92733a5194de4cc69d0e3d Mon Sep 17 00:00:00 2001 From: ana Date: Fri, 26 Jul 2013 16:48:45 +0000 Subject: [PATCH] Preparation win32 version --- src/SMDS/SMDS_MeshNode.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SMDS/SMDS_MeshNode.cxx b/src/SMDS/SMDS_MeshNode.cxx index 80bbf81c8..01a118406 100644 --- a/src/SMDS/SMDS_MeshNode.cxx +++ b/src/SMDS/SMDS_MeshNode.cxx @@ -165,7 +165,7 @@ public: cellList.push_back(vtkId); } } - myCells = &cellList[0]; + myCells = cellList.empty() ? 0 : &cellList[0]; myNcells = cellList.size(); //MESSAGE("myNcells="<