diff options
| author | Douglas Rumbaugh <dbr4@psu.edu> | 2024-02-12 12:38:29 -0500 |
|---|---|---|
| committer | Douglas Rumbaugh <dbr4@psu.edu> | 2024-02-12 12:38:29 -0500 |
| commit | 61f8bd422aed3301850c4502e9f5b7f33dff2e12 (patch) | |
| tree | 303278cd33fe294e934e7d6e24ecb6b1ee158737 /include | |
| parent | 5c229093f9af21514b17cf778dbec7ac657e31d2 (diff) | |
| download | dynamic-extension-61f8bd422aed3301850c4502e9f5b7f33dff2e12.tar.gz | |
MutableBuffer: Allow hwm to equal lwm
The high watermark and low watermark can now be equal, to allow for
blocking reconstruction without requiring odd buffer sizes.
Diffstat (limited to 'include')
| -rw-r--r-- | include/framework/structure/MutableBuffer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/framework/structure/MutableBuffer.h b/include/framework/structure/MutableBuffer.h index 415c95a..c0c87cc 100644 --- a/include/framework/structure/MutableBuffer.h +++ b/include/framework/structure/MutableBuffer.h @@ -57,7 +57,7 @@ public: , m_active_head_advance(false) { assert(m_cap > m_hwm); - assert(m_hwm > m_lwm); + assert(m_hwm >= m_lwm); } ~MutableBuffer() { |