From 5a67b8d0ec3406092065fad34993b32f4615aba1 Mon Sep 17 00:00:00 2001 From: ADAM David Alan Martin Date: Fri, 5 Jan 2024 14:28:15 -0500 Subject: [PATCH] Make an observer `const`. --- Atomic/Dropbox.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Atomic/Dropbox.h b/Atomic/Dropbox.h index fb0ac73..5967c24 100644 --- a/Atomic/Dropbox.h +++ b/Atomic/Dropbox.h @@ -130,7 +130,7 @@ namespace Alepha::Hydrogen::Atomic ::detail:: Dropbox_m return std::move( rv ); } - bool pushWouldBlock() { return weight > boxLimit; } + bool pushWouldBlock() const noexcept { return weight > boxLimit; } void