Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
slightly tweak implementation of empty collection nodes
This change removes the `const` qualifier from the static objects containing empty rrbtree and champ nodes, and also modifies the methods slightly so that they return a reference. This change makes it possible for these types to be used as part of a garbage-collected runtime which makes use of a copying collector, because if the user specifies a heap_poicy which allocates these nodes into a heap that needs to be relocated during garbage collection, the garbage collector will need to update the static pointer inside these methods in order to correctly relocate these nodes. This change removes the `const` qualifier from the static objects containing empty rrbtrees and champ
- Loading branch information