Skip to content

Commit

Permalink
Merge pull request #110 from Eren121/patch-1
Browse files Browse the repository at this point in the history
`=` instead of `==` in assertion
  • Loading branch information
anujkaliaiitd authored Apr 12, 2024
2 parents 793b2a9 + 3a5cdfa commit 82b31fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/huge_alloc.h
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ class HugeAlloc {

// Use the Buffers at the back to improve locality
Buffer buffer = freelist_[size_class].back();
assert(buffer.class_size_ = class_max_size(size_class));
assert(buffer.class_size_ == class_max_size(size_class));
freelist_[size_class].pop_back();

stats_.user_alloc_tot_ += buffer.class_size_;
Expand Down

0 comments on commit 82b31fc

Please sign in to comment.