Add move semantics to RBMap and RBSet. Make copy constructors explicit.

This commit is contained in:
Lukas Tenbrink 2026-02-20 20:47:15 +01:00
parent be587f3a2d
commit d6540e4aa7
6 changed files with 49 additions and 7 deletions

View file

@ -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) {