diff --git a/inst/include/dust2/packing.hpp b/inst/include/dust2/packing.hpp index b8cc3c35..ef12f99c 100644 --- a/inst/include/dust2/packing.hpp +++ b/inst/include/dust2/packing.hpp @@ -23,7 +23,6 @@ class packing { offset_.push_back(size_); size_ += len_i; } - size_ = std::accumulate(len_.begin(), len_.end(), 0); } packing() : size_(0) { @@ -41,10 +40,6 @@ class packing { return data_; } - auto& offset() const { - return offset_; - } - template void copy_offset(Iter it) { std::copy(offset_.begin(), offset_.end(), it);