mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-23 20:50:59 -05:00
Various small fixes
This commit is contained in:
@@ -98,8 +98,8 @@ namespace {
|
||||
node.children.begin(),
|
||||
node.children.end(),
|
||||
[p = *path.begin()](const std::unique_ptr<TreeNode>& c) {
|
||||
return c.get()->path == p;
|
||||
}
|
||||
return c.get()->path == p;
|
||||
}
|
||||
);
|
||||
|
||||
TreeNode* n;
|
||||
@@ -112,7 +112,6 @@ namespace {
|
||||
std::unique_ptr<TreeNode> newNode = std::make_unique<TreeNode>(*path.begin());
|
||||
n = newNode.get();
|
||||
node.children.push_back(std::move(newNode));
|
||||
|
||||
}
|
||||
|
||||
// Recurse into the tree and chop off the first path
|
||||
|
||||
Reference in New Issue
Block a user