summaryrefslogtreecommitdiffstats
path: root/include/framework/scheduling/Version.h
diff options
context:
space:
mode:
authorDouglas Rumbaugh <dbr4@psu.edu>2025-01-31 16:16:28 -0500
committerDouglas Rumbaugh <dbr4@psu.edu>2025-01-31 16:16:28 -0500
commit3061bfbf1c4b5092fa4234de3105a615fcef18ea (patch)
tree4c41cdf3b8e3af6e38ba1c8f283d2e35086cc2af /include/framework/scheduling/Version.h
parent30da48151f58803968ca3ef5d42e66a9223d80a4 (diff)
downloaddynamic-extension-3061bfbf1c4b5092fa4234de3105a615fcef18ea.tar.gz
More updates
Diffstat (limited to 'include/framework/scheduling/Version.h')
-rw-r--r--include/framework/scheduling/Version.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/include/framework/scheduling/Version.h b/include/framework/scheduling/Version.h
index 8d3d038..9c62ea1 100644
--- a/include/framework/scheduling/Version.h
+++ b/include/framework/scheduling/Version.h
@@ -84,13 +84,10 @@ public:
return version;
}
- void set_next_buffer_head(size_t new_head) {
- m_pending_buffer_head = new_head;
- }
-
bool advance_buffer_head() {
- m_buffer_head = m_pending_buffer_head;
- return m_buffer->advance_head(m_buffer_head);
+ auto new_head = m_buffer->get_buffer_view().get_tail();
+ m_buffer_head = new_head;
+ return m_buffer->advance_head(new_head);
}
private: