fixed return value from Space::add_child_space()

This commit is contained in:
Tomasz Sowa 2021-05-21 17:32:10 +02:00
parent 5ce36ea844
commit 49c2b478c0
1 changed files with 1 additions and 1 deletions

View File

@ -2028,7 +2028,7 @@ Space & Space::add_child_space()
TableType * child_table = find_child_space_table(); TableType * child_table = find_child_space_table();
child_table->push_back(new Space()); child_table->push_back(new Space());
return child_table->back(); return *child_table->back();
} }