summaryrefslogtreecommitdiffstats
path: root/include/framework/scheduling/Version.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/framework/scheduling/Version.h')
-rw-r--r--include/framework/scheduling/Version.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/framework/scheduling/Version.h b/include/framework/scheduling/Version.h
index 9c62ea1..3e93202 100644
--- a/include/framework/scheduling/Version.h
+++ b/include/framework/scheduling/Version.h
@@ -84,8 +84,7 @@ public:
return version;
}
- bool advance_buffer_head() {
- auto new_head = m_buffer->get_buffer_view().get_tail();
+ bool advance_buffer_head(size_t new_head) {
m_buffer_head = new_head;
return m_buffer->advance_head(new_head);
}