summaryrefslogtreecommitdiffstats
path: root/include/framework/structure/MutableBuffer.h
diff options
context:
space:
mode:
authorDouglas Rumbaugh <dbr4@psu.edu>2024-02-12 12:38:29 -0500
committerDouglas Rumbaugh <dbr4@psu.edu>2024-02-12 12:38:29 -0500
commit61f8bd422aed3301850c4502e9f5b7f33dff2e12 (patch)
tree303278cd33fe294e934e7d6e24ecb6b1ee158737 /include/framework/structure/MutableBuffer.h
parent5c229093f9af21514b17cf778dbec7ac657e31d2 (diff)
downloaddynamic-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/framework/structure/MutableBuffer.h')
-rw-r--r--include/framework/structure/MutableBuffer.h2
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() {