Skip to content

Commit b74748b

Browse files
committed
Fix after rebase: dirtyRecursive
1 parent 6174cf8 commit b74748b

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

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
@@ -235,7 +235,7 @@ Series &Series::setMeshesPath(std::vector<std::string> const &mp)
235235
setAttribute("meshesPath", mp);
236236
break;
237237
}
238-
dirty() = true;
238+
setDirty(true);
239239
return *this;
240240
}
241241

@@ -562,7 +562,7 @@ Series &Series::setParticlesPath(std::vector<std::string> const &pp)
562562
setAttribute("particlesPath", pp);
563563
break;
564564
}
565-
dirty() = true;
565+
setDirty(true);
566566
return *this;
567567
}
568568

0 commit comments

Comments
 (0)