Skip to content

Commit f19439c

Browse files
Merge pull request erpc-io#110 from Eren121/patch-1
`=` instead of `==` in assertion
2 parents 6032bba + b6cf60a commit f19439c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/huge_alloc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ class HugeAlloc {
203203

204204
// Use the Buffers at the back to improve locality
205205
Buffer buffer = freelist_[size_class].back();
206-
assert(buffer.class_size_ = class_max_size(size_class));
206+
assert(buffer.class_size_ == class_max_size(size_class));
207207
freelist_[size_class].pop_back();
208208

209209
stats_.user_alloc_tot_ += buffer.class_size_;

0 commit comments

Comments
 (0)