From 3a5cdfa2620dc99b66a68d29dd330b4ec1117e79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Frantz?= Date: Thu, 11 Apr 2024 01:14:29 +0200 Subject: [PATCH] `=` instead of `==` in assertion --- src/util/huge_alloc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/huge_alloc.h b/src/util/huge_alloc.h index 4afd84967..10d2ead48 100644 --- a/src/util/huge_alloc.h +++ b/src/util/huge_alloc.h @@ -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_;