summaryrefslogtreecommitdiffstats
path: root/include/framework/MutableBuffer.h
diff options
context:
space:
mode:
authorDouglas Rumbaugh <dbr4@psu.edu>2023-06-07 12:23:38 -0400
committerDouglas Rumbaugh <dbr4@psu.edu>2023-06-07 12:23:38 -0400
commit730fc4e9bae5a157c83db8061c2c6831a297e959 (patch)
treec0186e9f89d726c3596f9a120534490fe06a15f7 /include/framework/MutableBuffer.h
parenta6c17386c4e76576f578795947c1763e06f06f46 (diff)
downloaddynamic-extension-730fc4e9bae5a157c83db8061c2c6831a297e959.tar.gz
Interface adjustments
Layout and Delete Policies are now specified via template parameters, and rejection sampling has been removed as an argument to the mutable buffer constructor.
Diffstat (limited to 'include/framework/MutableBuffer.h')
-rw-r--r--include/framework/MutableBuffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/framework/MutableBuffer.h b/include/framework/MutableBuffer.h
index 2beb27f..9eea5c8 100644
--- a/include/framework/MutableBuffer.h
+++ b/include/framework/MutableBuffer.h
@@ -29,7 +29,7 @@ namespace de {
template <RecordInterface R>
class MutableBuffer {
public:
- MutableBuffer(size_t capacity, bool rej_sampling, size_t max_tombstone_cap)
+ MutableBuffer(size_t capacity, size_t max_tombstone_cap)
: m_cap(capacity), m_tombstone_cap(max_tombstone_cap), m_reccnt(0)
, m_tombstonecnt(0), m_weight(0), m_max_weight(0) {
auto len = capacity * sizeof(Wrapped<R>);