Skip to content
Snippets Groups Projects
Verified Commit 2775806c authored by Vincent Le Garrec's avatar Vincent Le Garrec
Browse files

vtkPoints::Resize may shrink and throw

parent 6d9053fd
No related branches found
No related tags found
No related merge requests found
......@@ -205,7 +205,8 @@ public:
/**
* Resize the internal array while conserving the data. Returns 1 if
* resizing succeeded and 0 otherwise.
* resizing succeeded (including shrinking) and 0 (or throw std::bad_alloc
* based on VTK_DONT_THROW_BAD_ALLOC configuration) otherwise.
*/
vtkTypeBool Resize(vtkIdType numPoints);
......
......@@ -165,7 +165,8 @@ public:
/**
* Resize the internal array while conserving the data. Returns 1 if
* resizing succeeded and 0 otherwise.
* resizing succeeded (including shrinking) and 0 (or throw std::bad_alloc
* based on VTK_DONT_THROW_BAD_ALLOC configuration) otherwise.
*/
vtkTypeBool Resize(vtkIdType numPoints);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment