Add move semantics to RBMap and RBSet. Make copy constructors explicit.
This commit is contained in:
parent
be587f3a2d
commit
d6540e4aa7
6 changed files with 49 additions and 7 deletions
|
|
@ -256,7 +256,7 @@ void EditorNode::disambiguate_filenames(const Vector<String> p_full_paths, Vecto
|
|||
|
||||
// For each index set with a size > 1, we need to disambiguate.
|
||||
for (int i = 0; i < index_sets.size(); i++) {
|
||||
RBSet<int> iset = index_sets[i];
|
||||
RBSet<int> iset(index_sets[i]);
|
||||
while (iset.size() > 1) {
|
||||
// Append the parent folder to each scene name.
|
||||
for (const int &E : iset) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue