summaryrefslogtreecommitdiffstats
path: root/include/framework
diff options
context:
space:
mode:
Diffstat (limited to 'include/framework')
-rw-r--r--include/framework/MutableBuffer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/framework/MutableBuffer.h b/include/framework/MutableBuffer.h
index bc80922..3e0de40 100644
--- a/include/framework/MutableBuffer.h
+++ b/include/framework/MutableBuffer.h
@@ -151,6 +151,10 @@ public:
return m_data;
}
+ double get_max_weight() {
+ return m_max_weight;
+ }
+
private:
int32_t try_advance_tail() {
size_t new_tail = m_reccnt.fetch_add(1);