| 117 | } |
| 118 | |
| 119 | forceinline void |
| 120 | SpaceNode::purge(const NodeAllocator& na) { |
| 121 | if (!isRoot() && (getStatus() != SOLVED || !na.bab())) { |
| 122 | // only delete copies from solutions if we are not in BAB |
| 123 | if (Support::marked(copy)) |
| 124 | delete static_cast<Space*>(Support::unmark(copy)); |
| 125 | else |
| 126 | delete copy; |
| 127 | copy = nullptr; |
| 128 | } |
| 129 | } |
| 130 | |
| 131 | |
| 132 | forceinline bool |
no test coverage detected