Skip to content
Snippets Groups Projects
Commit 2cd2732f authored by Mark OLESEN's avatar Mark OLESEN
Browse files

ENH: avoid change when setting UPtrList twice (issue #1035)

    UPtrList::set(const label i, T* ptr);

No-op if the new pointer value is identical to the current content.
This avoid memory management issues.
parent d2b32fcc
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment