Skip to content

Commit 49082d6

Browse files
committed
Fix after rebase: dirtyRecursive
1 parent dbc6a5e commit 49082d6

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
@@ -229,7 +229,7 @@ Series &Series::setMeshesPath(std::vector<std::string> const &mp)
229229
setAttribute("meshesPath", mp);
230230
break;
231231
}
232-
dirty() = true;
232+
setDirty(true);
233233
return *this;
234234
}
235235

@@ -556,7 +556,7 @@ Series &Series::setParticlesPath(std::vector<std::string> const &pp)
556556
setAttribute("particlesPath", pp);
557557
break;
558558
}
559-
dirty() = true;
559+
setDirty(true);
560560
return *this;
561561
}
562562

0 commit comments

Comments
 (0)