Skip to content

Commit 5ee4fef

Browse files
authored
Fixed compile issue under latest AppleClang (#58)
1 parent 9e28ed8 commit 5ee4fef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/carl/util/carlTree.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -844,9 +844,9 @@ class tree {
844844
*/
845845
template<typename Iterator>
846846
Iterator append(Iterator position, tree&& data) {
847-
Node* r = data.root;
847+
Node* r = data[0];
848848
r->depth = position.depth() + 1;
849-
data.root = nullptr;
849+
data[0] = nullptr;
850850
r->parent = position.current;
851851
std::size_t id = position.current->children.size();
852852
if (id > 0) r->previousSibling = &(position.current->children.back());

0 commit comments

Comments
 (0)