diff options
| author | Douglas Rumbaugh <dbr4@psu.edu> | 2023-05-29 16:37:43 -0400 |
|---|---|---|
| committer | Douglas Rumbaugh <dbr4@psu.edu> | 2023-05-29 16:37:43 -0400 |
| commit | ab14529843d7bbb3a0d0c30b163ed444afee04ed (patch) | |
| tree | cfb3019e4f3cac70f22869512fdce94c5aed8516 /include/framework/MutableBuffer.h | |
| parent | 85942ad2cb99b8a0984579d7dba9504f351ffac0 (diff) | |
| download | dynamic-extension-ab14529843d7bbb3a0d0c30b163ed444afee04ed.tar.gz | |
WIRS Query tests + fixes
Diffstat (limited to 'include/framework/MutableBuffer.h')
| -rw-r--r-- | include/framework/MutableBuffer.h | 4 |
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); |