Skip to content

Commit 22062d9

Browse files
committed
Fix after rebase: dirtyRecursive
1 parent 95babf3 commit 22062d9

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/CustomHierarchy.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,7 @@ void CustomHierarchy::read(
546546
data.embeddedDatasets().container().erase(path);
547547
}
548548
}
549+
setDirty(false);
549550
}
550551

551552
void CustomHierarchy::flush_internal(
@@ -633,6 +634,7 @@ void CustomHierarchy::flush_internal(
633634
{
634635
dataset.flush(name, flushParams, /* set_defaults = */ false);
635636
}
637+
setDirty(false);
636638
}
637639

638640
void CustomHierarchy::flush(

src/Series.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ Series &Series::setMeshesPath(std::vector<std::string> const &mp)
223223
setAttribute("meshesPath", mp);
224224
break;
225225
}
226-
dirty() = true;
226+
setDirty(true);
227227
return *this;
228228
}
229229

@@ -286,7 +286,7 @@ Series &Series::setParticlesPath(std::vector<std::string> const &pp)
286286
setAttribute("particlesPath", pp);
287287
break;
288288
}
289-
dirty() = true;
289+
setDirty(true);
290290
return *this;
291291
}
292292

0 commit comments

Comments
 (0)