Skip to content

Commit

Permalink
Drop unused bits
Browse files Browse the repository at this point in the history
  • Loading branch information
richfitz committed Nov 21, 2024
1 parent a499845 commit 52841e2
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions inst/include/dust2/packing.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ class packing {
offset_.push_back(size_);
size_ += len_i;
}
size_ = std::accumulate(len_.begin(), len_.end(), 0);
}

packing() : size_(0) {
Expand All @@ -41,10 +40,6 @@ class packing {
return data_;
}

auto& offset() const {
return offset_;
}

template <typename Iter>
void copy_offset(Iter it) {
std::copy(offset_.begin(), offset_.end(), it);
Expand Down

0 comments on commit 52841e2

Please sign in to comment.