We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a82ed4f commit 081405fCopy full SHA for 081405f
components/core/src/clp/ffi/SchemaTree.cpp
@@ -22,7 +22,7 @@ auto SchemaTree::get_node(Node::id_t id) const -> Node const& {
22
auto SchemaTree::try_get_node_id(NodeLocator const& locator) const -> std::optional<Node::id_t> {
23
auto const parent_id{static_cast<size_t>(locator.get_parent_id())};
24
if (m_tree_nodes.size() <= parent_id) {
25
- return false;
+ return std::nullopt;
26
}
27
std::optional<Node::id_t> node_id;
28
for (auto const child_id : m_tree_nodes[parent_id].get_children_ids()) {
0 commit comments