Skip to content

Commit e888725

Browse files
committed
memory/SliceBuffer: add method PopulateMemory()
1 parent 7c79ff8 commit e888725

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/memory/SliceBuffer.hxx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ public:
7272
buffer.SetName(name);
7373
}
7474

75+
void PopulateMemory() noexcept {
76+
buffer.Populate();
77+
}
78+
7579
void DiscardMemory() noexcept {
7680
assert(empty());
7781

0 commit comments

Comments
 (0)