From ab14529843d7bbb3a0d0c30b163ed444afee04ed Mon Sep 17 00:00:00 2001 From: Douglas Rumbaugh Date: Mon, 29 May 2023 16:37:43 -0400 Subject: WIRS Query tests + fixes --- include/framework/MutableBuffer.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/framework') 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); -- cgit v1.2.3