Fix memory mapping "Invalid argument" exception.
This commit is contained in:
parent
3984dea34b
commit
70cd7a94ec
@ -201,6 +201,8 @@ class StaticRTree
|
||||
leaf_node_file.write((char *)¤t_leaf, sizeof(current_leaf));
|
||||
processed_objects_count += current_leaf.object_count;
|
||||
}
|
||||
leaf_node_file.flush();
|
||||
leaf_node_file.close();
|
||||
|
||||
std::uint32_t processing_level = 0;
|
||||
while (1 < tree_nodes_in_level.size())
|
||||
|
Loading…
Reference in New Issue
Block a user