From ac3f1113f1ddc7a9abf7f88507bf920b249e4da0 Mon Sep 17 00:00:00 2001 From: TrevorCash Date: Sun, 13 Sep 2026 10:53:10 -0600 Subject: [PATCH] Fix for C++ 20 error: [error: C++20 says that these are ambiguous, even though the second is reversed: [-Werror] 628 | assert( e == e_out );] --- sandbox/sandbox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sandbox/sandbox.cpp b/sandbox/sandbox.cpp index d2d483e9e..6ec18107f 100644 --- a/sandbox/sandbox.cpp +++ b/sandbox/sandbox.cpp @@ -219,7 +219,7 @@ struct Everything ar(CEREAL_NVP(s)); } - bool operator==(Everything const & o) + bool operator==(Everything const & o) const { return x == o.x &&